Changeset 163 in Main
- Timestamp:
- Sep 26, 2024, 9:33:22 AM (7 weeks ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/server.c
r161 r163 31 31 32 32 #ifdef __MINGW32__ 33 #ifndef NO_GETADDRINFO 33 34 #include <ws2tcpip.h> 34 35 #include <wspiapi.h> 36 #endif 35 37 #include <winsock2.h> 36 38 #include <process.h> … … 48 50 #include <netinet/in.h> 49 51 #include <netinet/tcp.h> 52 #ifndef NO_GETADDRINFO 50 53 #include <netdb.h> 54 #endif 51 55 #endif 52 56 … … 449 453 char address[513]; 450 454 address[0] = 0; 455 #ifndef NO_GETADDRINFO 451 456 struct sockaddr* sa = (struct sockaddr*)&addr; 452 457 getnameinfo(sa, sizeof(addr), address, 512, NULL, 0, NI_NUMERICHOST); 458 #endif 453 459 454 460 struct tw_http_request req; -
trunk/Server/tw_version.h
r161 r163 8 8 #endif 9 9 10 #define TW_VERSION "1.08 \0"10 #define TW_VERSION "1.08A\0" 11 11 12 12 const char* tw_get_version(void); -
trunk/Server/version.c
r104 r163 18 18 #elif defined(__HAIKU__) 19 19 "Haiku" 20 #elif defined(__CYGWIN__) 21 "Cygwin" 20 22 #else 21 23 "Unix" -
trunk/config.h.tmpl
r156 r163 9 9 #define USE_POLL 10 10 #define HAS_CHROOT 11 #undef NO_GETADDRINFO 11 12 12 13 /* DO NOT EDIT BELOW THIS LINE */
Note:
See TracChangeset
for help on using the changeset viewer.