Changes for mingw32 compatibility. Gave up using GetAddrInfoW. getaddrinfo is dynamically bound, gethostbyname is used if it is not available.

VC compilation is broken.

Make sure to use the dynamic boost-thread lib with mingw, as thread specific pointers are used!
This commit is contained in:
lotodore
2007-09-01 14:04:41 +00:00
parent 26397dee94
commit 1f6a10e2d1
9 changed files with 100 additions and 99 deletions
+9 -6
View File
@@ -96,14 +96,17 @@ win32{
DEPENDPATH += src/net/win32/ src/core/win32
INCLUDEPATH += ../boost/
LIBPATH += ../boost/stage/lib
debug {
LIBPATH += Debug/lib
}
!debug {
release {
LIBPATH += Release/lib
}
LIBS += pokerth_lib.lib
LIBS += gdi32.lib comdlg32.lib oleaut32.lib imm32.lib winmm.lib winspool.lib ole32.lib uuid.lib user32.lib msimg32.lib shell32.lib kernel32.lib ws2_32.lib advapi32.lib
!release {
LIBPATH += Debug/lib
}
LIBS += -lpokerth_lib
LIBS += -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lwinspool -lole32 -luuid -luser32 -lmsimg32 -lshell32 -lkernel32 -lws2_32 -ladvapi32
LIBS += -lboost_thread-mgw34-mt-1_34_1
}
!win32{
DEPENDPATH += src/net/linux/ src/core/linux