Define PPEB in ntddk.h
[reactos.git] / reactos / include / ndk / peb_teb.h
index 38791b3..ec4b2d3 100644 (file)
@@ -1,4 +1,3 @@
-
 #define PASTE2(x,y)       x##y
 #define PASTE(x,y)         PASTE2(x,y)
 
   #define GDI_HANDLE_BUFFER_SIZE 34
 #endif
 
+#if defined(_NTDDK_INCLUDED_) || defined(_NTIFS_)
+#define PPEB PPEB_RENAMED
+#endif
+
 typedef struct STRUCT(_PEB)
 {
     BOOLEAN InheritedAddressSpace;
@@ -152,6 +155,7 @@ typedef struct STRUCT(_PEB)
 #endif
 } STRUCT(PEB), *STRUCT(PPEB);
 
+#undef PPEB
 
 #if defined(_WIN64) && !defined(EXPLICIT_32BIT)
 C_ASSERT(FIELD_OFFSET(STRUCT(PEB), Mutant) == 0x08);