Use free Windows DDK and compile with latest MinGW releases.
[reactos.git] / reactos / ntoskrnl / include / internal / handle.h
index 8d1f436..71fe654 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef __INTERNAL_HANDLE_H
 #define __INTERNAL_HANDLE_H
 
+#if __GNUC__ >=3
+#pragma GCC system_header
+#endif
+
+#ifndef AS_INVOKED
 
 typedef struct _RTL_HANDLE
 {
@@ -23,4 +28,6 @@ BOOLEAN RtlpAllocateHandle(PRTL_HANDLE_TABLE HandleTable, PVOID Object, PULONG I
 BOOLEAN RtlpFreeHandle(PRTL_HANDLE_TABLE HandleTable, ULONG Index);
 PVOID RtlpMapHandleToPointer(PRTL_HANDLE_TABLE HandleTable, ULONG Index);
 
+#endif /* !AS_INVOKED */
+
 #endif /* __INTERNAL_HANDLE_H */