Changeset 361 in Main for trunk/Server/server.c
- Timestamp:
- Oct 17, 2024, 9:37:10 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r359 r361 64 64 typedef int socklen_t; 65 65 #elif defined(__NETWARE__) 66 #include <sys/bsdskt.h> 66 67 #include <sys/socket.h> 67 68 68 69 #define IPPROTO_TCP 0 69 70 #define INADDR_ANY 0 70 #define htons(x) x71 71 #include "strptime.h" 72 72 typedef int socklen_t; 73 74 uint16_t htons(uint16_t n) { return ((n >> 8) & 0xff) | ((n << 8) & 0xff00); } 73 75 #elif defined(__DOS__) 74 76 #include <netinet/tcp.h> … … 1011 1013 struct timeval tv; 1012 1014 #endif 1013 #if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || defined(__WATCOMC__)1015 #if defined(__MINGW32__) || defined(__HAIKU__) || defined(_MSC_VER) || defined(__BORLANDC__) || (defined(__WATCOMC__) && !defined(__NETWARE__)) 1014 1016 struct thread_entry threads[2048]; 1015 1017 for(i = 0; i < sizeof(threads) / sizeof(threads[0]); i++) { … … 1084 1086 _beginthread(tw_server_pass, 0, 0, e); 1085 1087 #elif defined(__NETWARE__) 1086 tw_server_pass(e);1088 BeginThread(tw_server_pass, NULL, 0, e); 1087 1089 #elif defined(__DOS__) 1088 1090 tw_server_pass(e);
Note:
See TracChangeset
for help on using the changeset viewer.