Changeset 240 in Main for trunk/Server
- Timestamp:
- Oct 3, 2024, 2:54:55 PM (6 weeks ago)
- Location:
- trunk/Server
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/config.c
r215 r240 16 16 17 17 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) 18 #ifdef USE_WINSOCK1 19 #include <winsock.h> 20 #else 18 21 #include <winsock2.h> 22 #endif 19 23 #endif 20 24 -
trunk/Server/http.c
r219 r240 17 17 18 18 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) 19 #ifdef USE_WINSOCK1 20 #include <winsock.h> 21 #else 19 22 #include <winsock2.h> 23 #endif 20 24 #else 21 25 #ifdef USE_POLL -
trunk/Server/server.c
r219 r240 38 38 #include <wspiapi.h> 39 39 #endif 40 #ifdef USE_WINSOCK1 41 #include <winsock.h> 42 #else 40 43 #include <winsock2.h> 44 #endif 41 45 #include <process.h> 42 46 #include <windows.h> … … 123 127 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) 124 128 WSADATA wsa; 129 #ifdef USE_WINSOCK1 130 WSAStartup(MAKEWORD(1, 1), &wsa); 131 #else 125 132 WSAStartup(MAKEWORD(2, 0), &wsa); 133 #endif 126 134 #endif 127 135 for(i = 0; config.ports[i] != -1; i++) -
trunk/Server/tw_config.h
r219 r240 16 16 17 17 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) 18 #ifdef USE_WINSOCK1 19 #include <winsock.h> 20 #else 18 21 #include <winsock2.h> 22 #endif 19 23 #define NO_IPV6 20 24 #else
Note:
See TracChangeset
for help on using the changeset viewer.