ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/MSYS2/mingw32/i686-w64-mingw32/include/sys/locking.h
Revision: 1166
Committed: Tue Oct 26 14:22:36 2021 UTC (4 years ago) by rossy
Content type: text/x-chdr
File size: 652 byte(s)
Log Message:
Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File Contents

# Content
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6 #ifndef _INC_LOCKING
7 #define _INC_LOCKING
8
9 #ifndef _WIN32
10 #error Only Win32 target is supported!
11 #endif
12
13 /* All the headers include this file. */
14 #include <crtdefs.h>
15
16 #define _LK_UNLCK 0
17 #define _LK_LOCK 1
18 #define _LK_NBLCK 2
19 #define _LK_RLCK 3
20 #define _LK_NBRLCK 4
21
22 #ifndef NO_OLDNAMES
23 #define LK_UNLCK _LK_UNLCK
24 #define LK_LOCK _LK_LOCK
25 #define LK_NBLCK _LK_NBLCK
26 #define LK_RLCK _LK_RLCK
27 #define LK_NBRLCK _LK_NBRLCK
28 #endif
29
30 #endif