ReactOS  0.4.14-dev-115-g4576127
locking.h
Go to the documentation of this file.
1 
6 #ifndef _INC_LOCKING
7 #define _INC_LOCKING
8 
9 #ifndef _WIN32
10 #error Only Win32 target is supported!
11 #endif
12 
13 #include <crtdefs.h>
14 
15 #define _LK_UNLCK 0
16 #define _LK_LOCK 1
17 #define _LK_NBLCK 2
18 #define _LK_RLCK 3
19 #define _LK_NBRLCK 4
20 
21 #ifndef NO_OLDNAMES
22 #define LK_UNLCK _LK_UNLCK
23 #define LK_LOCK _LK_LOCK
24 #define LK_NBLCK _LK_NBLCK
25 #define LK_RLCK _LK_RLCK
26 #define LK_NBRLCK _LK_NBRLCK
27 #endif
28 
29 #endif