summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-12-16 10:28:16 +0000
committerjsorg71 <jsorg71>2007-12-16 10:28:16 +0000
commit8af78369ea6161b7dab4302753938d65533bee31 (patch)
tree1cebb348fff7e3169236554d66da7a6390be9d28 /common
parent7f8ba596feccb26792913491d4ebf3f197036e25 (diff)
downloadxrdp-proprietary-8af78369ea6161b7dab4302753938d65533bee31.tar.gz
xrdp-proprietary-8af78369ea6161b7dab4302753938d65533bee31.zip
add tsock
Diffstat (limited to 'common')
-rw-r--r--common/arch.h8
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