Changeset 163 in Main for trunk/Server/server.c
- Timestamp:
- Sep 26, 2024, 9:33:22 AM (7 weeks ago)
- File:
-
- 1 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;
Note:
See TracChangeset
for help on using the changeset viewer.