Author: hbelusca
Date: Tue Jan 12 22:17:39 2016
New Revision: 70580
URL:
http://svn.reactos.org/svn/reactos?rev=70580&view=rev
Log:
[CMLIB]: Fix host-tool compilation (+ add a comment).
Modified:
trunk/reactos/lib/cmlib/cmlib.h
Modified: trunk/reactos/lib/cmlib/cmlib.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/cmlib/cmlib.h?rev=7058…
==============================================================================
--- trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] (original)
+++ trunk/reactos/lib/cmlib/cmlib.h [iso-8859-1] Tue Jan 12 22:17:39 2016
@@ -17,6 +17,8 @@
#include <typedefs.h>
#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]
@@ -100,6 +102,9 @@
#define PKEVENT PVOID
#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;