diff options
Diffstat (limited to 'common/arch.h')
-rw-r--r-- | common/arch.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/common/arch.h b/common/arch.h index 6c61f99b..eef2552b 100644 --- a/common/arch.h +++ b/common/arch.h @@ -89,10 +89,16 @@ typedef __int64 tbus; #else typedef long tbus; #endif -#if defined _WIN32 +#if defined(_WIN32) typedef unsigned short twchar; #else typedef int twchar; #endif +/* socket is different in win32 */ +#if defined(_WIN32) +typedef unsigned int tsock; +#else +typedef int tsock; +#endif #endif |