bootstrap
[reactos.git] / include / ntos / types.h
index ebdf60f..1375aea 100644 (file)
@@ -80,6 +80,7 @@ typedef unsigned long long DWORD64, *PDWORD64;
 
 typedef unsigned char UCHAR;
 typedef unsigned short USHORT;
+/* Yes, W32 uses 16-bit wchar_t requiring GCC -fshort-wchar option */
 typedef unsigned short WCHAR;
 typedef unsigned short WORD;
 typedef int BOOL;
@@ -115,8 +116,12 @@ typedef char CCHAR;
 typedef CCHAR *PCCHAR;
 
 
+#ifndef FALSE
 #define FALSE 0
+#endif
+#ifndef TRUE
 #define TRUE 1
+#endif
 
 #ifndef NULL
 #ifdef __cplusplus
@@ -128,7 +133,7 @@ typedef CCHAR *PCCHAR;
 
 typedef const unsigned short *PCWSTR;
 
-typedef char* PCSZ;
+typedef const char* PCSZ;
 
 typedef union _LARGE_INTEGER
 {