Author: greatlrd Date: Thu May 31 22:10:14 2007 New Revision: 26952
URL: http://svn.reactos.org/svn/reactos?rev=26952&view=rev Log: fixing LONG be typdef as int32_t fixing ULONG be typdef as uint32_t
Modified: trunk/reactos/include/psdk/winnt.h
Modified: trunk/reactos/include/psdk/winnt.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnt.h?rev=26... ============================================================================== --- trunk/reactos/include/psdk/winnt.h (original) +++ trunk/reactos/include/psdk/winnt.h Thu May 31 22:10:14 2007 @@ -54,6 +54,7 @@ #include <winerror.h> #include <stddef.h> #include <sdkddkver.h> +#include <stdint.h>
#ifndef RC_INVOKED #include <string.h> @@ -102,12 +103,12 @@ 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;