diff --git a/dtool/src/parser-inc/synchapi.h b/dtool/src/parser-inc/synchapi.h new file mode 100755 index 0000000000..3332ebd6e7 --- /dev/null +++ b/dtool/src/parser-inc/synchapi.h @@ -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 diff --git a/dtool/src/parser-inc/winnt.h b/dtool/src/parser-inc/winnt.h new file mode 100755 index 0000000000..0984c7312f --- /dev/null +++ b/dtool/src/parser-inc/winnt.h @@ -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