parser-inc: add synchapi.h and winnt.h headers

This commit is contained in:
rdb 2019-02-06 23:21:44 +01:00
parent 3f1bd1744b
commit 7e0952e367
2 changed files with 26 additions and 0 deletions

10
dtool/src/parser-inc/synchapi.h Executable file
View File

@ -0,0 +1,10 @@
#ifndef SYNCHAPI_H
#define SYNCHAPI_H
#include "winnt.h"
#define SRWLOCK_INIT RTL_SRWLOCK_INIT
typedef RTL_SRWLOCK SRWLOCK, *PSRWLOCK;
#endif

16
dtool/src/parser-inc/winnt.h Executable file
View File

@ -0,0 +1,16 @@
#ifndef WINNT_H
#define WINNT_H
typedef void *PVOID;
typedef struct _RTL_SRWLOCK {
PVOID Ptr;
} RTL_SRWLOCK, *PRTL_SRWLOCK;
#define RTL_SRWLOCK_INIT {0}
typedef struct _RTL_CONDITION_VARIABLE {
PVOID Ptr;
} RTL_CONDITION_VARIABLE, *PRTL_CONDITION_VARIABLE;
#endif