summaryrefslogtreecommitdiffstats
path: root/common/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/arch.h')
-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