1 #ifdef _MSC_VER 2 #define strncasecmp _strnicmp 3 #define strcasecmp _stricmp 4 #define strdup _strdup 5 6 typedef __int64 int64_t; 7 typedef unsigned __int64 uint64_t; 8 typedef unsigned __int32 uint32_t; 9 typedef unsigned __int16 uint16_t; 10 typedef unsigned __int8 uint8_t; 11 typedef __int32 int32_t; 12 typedef int ssize_t; 13 typedef int socklen_t; 14 #ifndef _WIN64 15 // NOTE(rryan): For some reason, x64 already had size_t defined but x86 doesn't. 16 typedef unsigned int size_t; 17 #endif 18 #endif 19