Error out when assigning void value.
[tinycc/miki.git] / win32 / include / share.h
blob358855fe4a4a5be24402c59b55ee21ca8ddf6a4b
1 /**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the w64 mingw-runtime package.
4 * No warranty is given; refer to the file DISCLAIMER within this package.
5 */
6 #ifndef _INC_SHARE
7 #define _INC_SHARE
9 #ifndef _WIN32
10 #error Only Win32 target is supported!
11 #endif
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
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
28 #endif