mirror of
https://github.com/digarok/gsplus.git
synced 2025-02-10 10:31:23 +00:00
__USE_W32_SOCKETS
This commit is contained in:
parent
516d0e1439
commit
d3d9070102
@ -4,7 +4,7 @@ project(gsplus VERSION 0.14)
|
||||
|
||||
if(CYGWIN OR MSYS)
|
||||
set(WIN32 1)
|
||||
add_definitions(-DWIN32 -D_WIN32)
|
||||
add_definitions(-DWIN32 -D_WIN32 -D__USE_W32_SOCKETS)
|
||||
endif()
|
||||
|
||||
# msys/cygwin/mingw32 add dirent.h, etc.
|
||||
@ -20,4 +20,4 @@ if(WIN32)
|
||||
include_directories(include/npcap)
|
||||
endif()
|
||||
|
||||
add_subdirectory(src bin)
|
||||
add_subdirectory(src bin)
|
||||
|
Loading…
x
Reference in New Issue
Block a user