diff options
author | jsorg71 <jsorg71> | 2007-12-16 10:28:16 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-12-16 10:28:16 +0000 |
commit | 8af78369ea6161b7dab4302753938d65533bee31 (patch) | |
tree | 1cebb348fff7e3169236554d66da7a6390be9d28 /common | |
parent | 7f8ba596feccb26792913491d4ebf3f197036e25 (diff) | |
download | xrdp-proprietary-8af78369ea6161b7dab4302753938d65533bee31.tar.gz xrdp-proprietary-8af78369ea6161b7dab4302753938d65533bee31.zip |
add tsock
Diffstat (limited to 'common')
-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 |