Changeset 8351 for code/trunk/src/external/enet
- Timestamp:
- Apr 28, 2011, 7:15:14 AM (14 years ago)
- Location:
- code/trunk/src/external/enet
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/external/enet/CMakeLists.txt
r7459 r8351 29 29 win32.h 30 30 31 win32.c32 33 31 COMPILATION_BEGIN ENetCompilation.c 34 32 callbacks.c … … 40 38 protocol.c 41 39 unix.c 40 win32.c 42 41 COMPILATION_END 43 42 ) … … 45 44 ADD_COMPILER_FLAGS("-DHAS_POLL -DHAS_FCNTL -DHAS_MSGHDR_FLAGS -DHAS_SOCKLEN_T") 46 45 47 IF(WIN32)48 SET(ENET_WIN_LIBS odbc32 odbccp32 winmm ws2_32)49 ENDIF()50 51 46 ORXONOX_ADD_LIBRARY(enet_orxonox 52 47 ORXONOX_EXTERNAL 53 VERSION 1.3.054 DEFINE_SYMBOL "ENET_BUILDING_LIB"55 LINK_LIB RARIES ${ENET_WIN_LIBS}56 SOURCE_FILES ${ENET_FILES}48 VERSION 1.3.1 49 DEFINE_SYMBOL "ENET_BUILDING_LIB" 50 LINK_LIBS_WIN32 odbc32 odbccp32 winmm ws2_32 51 SOURCE_FILES ${ENET_FILES} 57 52 ) -
code/trunk/src/external/enet/patches/0001-Add-IPv6-support-to-Enet.patch
r8088 r8351 908 908 + 909 909 #include <time.h> 910 + #include <ws2tcpip.h>910 + 911 911 #define ENET_BUILDING_LIB 1 912 912 #include "enet/enet.h" -
code/trunk/src/external/enet/win32.c
r8079 r8351 8 8 9 9 #include <time.h> 10 #include <ws2tcpip.h>11 10 #define ENET_BUILDING_LIB 1 12 11 #include "enet/enet.h"
Note: See TracChangeset
for help on using the changeset viewer.