| 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_SHARE |
| 7 | #define _INC_SHARE |
| 8 | |
| 9 | #ifndef _WIN32 |
| 10 | #error Only Win32 target is supported! |
| 11 | #endif |
| 12 | |
| 13 | #define _SH_COMPAT 0x00 |
| 14 | #define _SH_DENYRW 0x10 |
| 15 | #define _SH_DENYWR 0x20 |
| 16 | #define _SH_DENYRD 0x30 |
| 17 | #define _SH_DENYNO 0x40 |
| 18 | #define _SH_SECURE 0x80 |
| 19 | |
| 20 | #ifndef	NO_OLDNAMES |
| 21 | #define SH_COMPAT _SH_COMPAT |
| 22 | #define SH_DENYRW _SH_DENYRW |
| 23 | #define SH_DENYWR _SH_DENYWR |
| 24 | #define SH_DENYRD _SH_DENYRD |
| 25 | #define SH_DENYNO _SH_DENYNO |
| 26 | #endif |
| 27 | |
| 28 | #endif |