From 26e9b0e0e7bd0a98772a6236efa7f2b7fdd44b4f Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Thu, 31 May 2007 18:10:14 +0000 Subject: [PATCH] fixing LONG be typdef as int32_t fixing ULONG be typdef as uint32_t svn path=/trunk/; revision=26952 --- reactos/include/psdk/winnt.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/reactos/include/psdk/winnt.h b/reactos/include/psdk/winnt.h index 3b821de888d..2f9b9c2fefd 100644 --- a/reactos/include/psdk/winnt.h +++ b/reactos/include/psdk/winnt.h @@ -54,6 +54,7 @@ extern "C" { #include #include #include +#include #ifndef RC_INVOKED #include @@ -102,12 +103,12 @@ typedef char CHAR; typedef short SHORT; #ifndef LONG_DEFINED #define LONG_DEFINED - typedef long LONG; - typedef unsigned long ULONG,*PULONG; + typedef int32_t LONG; + typedef uint32_t ULONG,*PULONG; #endif//LONG_DEFINED typedef char CCHAR, *PCCHAR; -typedef unsigned char UCHAR,*PUCHAR; -typedef unsigned short USHORT,*PUSHORT; +typedef uint8_t UCHAR,*PUCHAR; +typedef uint16_t USHORT,*PUSHORT; typedef char *PSZ; typedef void *PVOID,*LPVOID;