mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 15:33:46 +00:00
[CMLIB]: Fix host-tool compilation (+ add a comment).
svn path=/trunk/; revision=70580
This commit is contained in:
parent
ab7ca4116c
commit
c63d2718c5
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,8 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#define NTDDI_VERSION 0x05020400 // NTDDI_WS03SP4 // This is the NT kernel version
|
||||||
|
|
||||||
/* C_ASSERT Definition */
|
/* C_ASSERT Definition */
|
||||||
#define C_ASSERT(expr) extern char (*c_assert(void)) [(expr) ? 1 : -1]
|
#define C_ASSERT(expr) extern char (*c_assert(void)) [(expr) ? 1 : -1]
|
||||||
|
|
||||||
|
@ -101,6 +103,9 @@
|
||||||
#define PWORK_QUEUE_ITEM PVOID
|
#define PWORK_QUEUE_ITEM PVOID
|
||||||
#define EX_PUSH_LOCK PULONG_PTR
|
#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 USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
|
||||||
|
|
||||||
typedef struct _SECURITY_DESCRIPTOR_RELATIVE
|
typedef struct _SECURITY_DESCRIPTOR_RELATIVE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue