summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cbasetypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index ec539a3db..ff9109dd1 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -65,9 +65,11 @@ typedef unsigned int uint; // don't use
typedef signed long slong; // don't use (only for ie. file-io)
typedef unsigned long ulong; // don't use
+#ifndef WIN32
typedef char* pchar;
-typedef const char* cchar;
typedef unsigned char* puchar;
+#endif
+typedef const char* cchar;
typedef void* ptr;
typedef int* pint;