fix linux compile after socket update

This commit is contained in:
Rajko Stojadinovic 2010-08-29 06:16:59 +02:00
parent 8574fa9e18
commit 0ba147ce88
4 changed files with 27 additions and 3 deletions

View file

@ -0,0 +1,12 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libSockets
Description: C++ Sockets Library
Version: 2.3.9.3
Requires: libxml-2.0, libssl
Libs: -L${libdir} -lSockets
Libs.private: -lpthread
Cflags: -I${includedir}

View file

@ -0,0 +1,12 @@
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: libsockets2
Description: C++ Sockets Library
Version: 2.3.9.3
Requires:
Libs: -L${libdir} -lSockets
Libs.private: -lssl -lcrypto -lxml2 -lpthread
Cflags: -I${includedir}

View file

@ -1,4 +1,4 @@
Reality
*.exe
*.exp
*.lib
@ -8,4 +8,4 @@
*.exp
*.ilk
*.lib
*.pdb
*.pdb

View file

@ -266,7 +266,7 @@ using boost::format;
#endif
#if PLATFORM != PLATFORM_WIN32
#define Sleep(ms) usleep(1000*ms)
inline void Sleep(int ms) { usleep(1000*ms); }
#endif
class Database;