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_SHARE 7*c2c66affSColin Finck #define _INC_SHARE 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 #define _SH_COMPAT 0x00 14*c2c66affSColin Finck #define _SH_DENYRW 0x10 15*c2c66affSColin Finck #define _SH_DENYWR 0x20 16*c2c66affSColin Finck #define _SH_DENYRD 0x30 17*c2c66affSColin Finck #define _SH_DENYNO 0x40 18*c2c66affSColin Finck #define _SH_SECURE 0x80 19*c2c66affSColin Finck 20*c2c66affSColin Finck #ifndef NO_OLDNAMES 21*c2c66affSColin Finck #define SH_COMPAT _SH_COMPAT 22*c2c66affSColin Finck #define SH_DENYRW _SH_DENYRW 23*c2c66affSColin Finck #define SH_DENYWR _SH_DENYWR 24*c2c66affSColin Finck #define SH_DENYRD _SH_DENYRD 25*c2c66affSColin Finck #define SH_DENYNO _SH_DENYNO 26*c2c66affSColin Finck #endif 27*c2c66affSColin Finck 28*c2c66affSColin Finck #endif 29