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