Define PAGE_SIZE in winnt.h for now, for modules that don't include the NDK, and then make the NDK and WINNT.H safe to use combined

svn path=/trunk/; revision=41875
This commit is contained in:
ReactOS Portable Systems Group 2009-07-11 12:35:29 +00:00
parent de1eda4f79
commit 8473ade2b8
2 changed files with 6 additions and 0 deletions

View file

@ -26,7 +26,9 @@ Author:
//
// Page-related Macros
//
#ifndef PAGE_SIZE
#define PAGE_SIZE 0x1000
#endif
#define PAGE_SHIFT 12L
#define MM_ALLOCATION_GRANULARITY 0x10000
#define MM_ALLOCATION_GRANULARITY_SHIFT 16L

View file

@ -2846,6 +2846,10 @@ typedef struct _CONTEXT {
} CONTEXT;
#elif defined(ARM)
#ifndef PAGE_SIZE
#define PAGE_SIZE 0x1000 // FIXME: This should probably go elsewhere
#endif
/* The following flags control the contents of the CONTEXT structure. */
#define CONTEXT_ARM 0x0000040