X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=include%2Fntos%2Ftypes.h;h=1375aea2db49a99e20cb5edc71b0a1c73e727e9f;hb=f26f546a70ce686f2e8d3a26b535a1f1b80c734e;hp=ebdf60f97badb3d5901521ff847544e5216a2760;hpb=1334f77b1ecef00ac31076ce6bf22bdfeb82d347;p=reactos.git diff --git a/include/ntos/types.h b/include/ntos/types.h index ebdf60f..1375aea 100644 --- a/include/ntos/types.h +++ b/include/ntos/types.h @@ -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 {