summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2007-12-16 10:50:58 +0000
committerjsorg71 <jsorg71>2007-12-16 10:50:58 +0000
commit9876b42c4690b805d00c59db6cb87a9354e18042 (patch)
tree752e163e6d0e2f1e6c0db5174db1bbff400c7a23 /common
parent8af78369ea6161b7dab4302753938d65533bee31 (diff)
downloadxrdp-proprietary-9876b42c4690b805d00c59db6cb87a9354e18042.tar.gz
xrdp-proprietary-9876b42c4690b805d00c59db6cb87a9354e18042.zip
move tsock
Diffstat (limited to 'common')
-rw-r--r--common/arch.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/common/arch.h b/common/arch.h
index eef2552b..45897c79 100644
--- a/common/arch.h
+++ b/common/arch.h
@@ -89,15 +89,12 @@ typedef __int64 tbus;
#else
typedef long tbus;
#endif
+/* wide char, socket */
#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 twchar;
typedef int tsock;
#endif