mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
parser-inc: add synchapi.h and winnt.h headers
This commit is contained in:
parent
3f1bd1744b
commit
7e0952e367
10
dtool/src/parser-inc/synchapi.h
Executable file
10
dtool/src/parser-inc/synchapi.h
Executable 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
16
dtool/src/parser-inc/winnt.h
Executable 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
|
Loading…
x
Reference in New Issue
Block a user