[CMLIB]: Fix host-tool compilation (+ add a comment).
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 12 Jan 2016 22:17:39 +0000 (22:17 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 12 Jan 2016 22:17:39 +0000 (22:17 +0000)
svn path=/trunk/; revision=70580

reactos/lib/cmlib/cmlib.h

index 357f1bd..94c3193 100644 (file)
@@ -18,6 +18,8 @@
     #include <stdio.h>
     #include <string.h>
 
+    #define NTDDI_VERSION   0x05020400 // NTDDI_WS03SP4 // This is the NT kernel version
+
     /* C_ASSERT Definition */
     #define C_ASSERT(expr) extern char (*c_assert(void)) [(expr) ? 1 : -1]
 
     #define PWORK_QUEUE_ITEM PVOID
     #define EX_PUSH_LOCK PULONG_PTR
 
+    // Definitions copied from <ntifs.h>
+    // We only want to include host headers, so we define them manually
+
     typedef USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
 
     typedef struct _SECURITY_DESCRIPTOR_RELATIVE