Changeset 212 in Main for trunk/Server/tw_config.h
- Timestamp:
- Oct 3, 2024, 2:44:55 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Server/tw_config.h
r187 r212 15 15 #include <stdbool.h> 16 16 17 #if def __MINGW32__17 #if defined(__MINGW32__) || defined(_MSC_VER) 18 18 #include <winsock2.h> 19 19 #define NO_IPV6 … … 42 42 #define MAX_INDEX 1024 43 43 #define MAX_README 8 44 45 #ifdef _MSC_VER 46 #define NUM1024 1024UL 47 #else 48 #define NUM1024 1024ULL 49 #endif 44 50 45 51 enum TW_DIR_TYPE { … … 89 95 90 96 struct tw_config { 97 #ifdef _MSC_VER 98 uint32_t ports[MAX_PORTS + 1]; 99 #else 91 100 uint64_t ports[MAX_PORTS + 1]; /* If port & (1 << 32) is non-zero, it is SSL */ 101 #endif 92 102 char hostname[1025]; 93 103 char* defined[1025];
Note:
See TracChangeset
for help on using the changeset viewer.