Changeset 359 in Main for trunk/Server/server.c
- Timestamp:
- Oct 16, 2024, 11:34:51 PM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r349 r359 48 48 #endif 49 49 50 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__) )50 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__) && !defined(__DOS__)) 51 51 #ifndef NO_GETNAMEINFO 52 52 #include <ws2tcpip.h> … … 71 71 #include "strptime.h" 72 72 typedef int socklen_t; 73 #elif defined(__DOS__) 74 #include <netinet/tcp.h> 75 #include <netinet/in.h> 76 #include <arpa/inet.h> 77 #include <sys/select.h> 78 79 #include "strptime.h" 73 80 #else 74 81 #ifdef USE_POLL … … 167 174 int tw_server_init(void) { 168 175 int i; 169 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__) )176 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__OS2__) && !defined(__NETWARE__) && !defined(__DOS__)) 170 177 WSADATA wsa; 171 178 #ifdef USE_WINSOCK1 … … 965 972 #if defined(__MINGW32__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__) 966 973 #ifdef __NETWARE__ 974 #elif defined(__DOS__) 967 975 #else 968 976 _endthread(); … … 987 995 #elif defined(__NETWARE__) 988 996 int thread; 997 #elif defined(__DOS__) 989 998 #else 990 999 HANDLE handle; … … 1075 1084 _beginthread(tw_server_pass, 0, 0, e); 1076 1085 #elif defined(__NETWARE__) 1086 tw_server_pass(e); 1087 #elif defined(__DOS__) 1077 1088 tw_server_pass(e); 1078 1089 #else
Note:
See TracChangeset
for help on using the changeset viewer.