[CMLIB]: Fix host-tool compilation (+ add a comment).

svn path=/trunk/; revision=70580
This commit is contained in:
Hermès Bélusca-Maïto 2016-01-12 22:17:39 +00:00
parent ab7ca4116c
commit c63d2718c5

View 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]
@ -101,6 +103,9 @@
#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