source: Daodan/MinGW/include/share.h@ 1141

Last change on this file since 1141 was 1046, checked in by alloc, 8 years ago

Daodan: Added Windows MinGW and build batch file

File size: 800 bytes
RevLine 
[1046]1/*
2 * share.h
3 * This file has no copyright assigned and is placed in the Public Domain.
4 * This file is a part of the mingw-runtime package.
5 * No warranty is given; refer to the file DISCLAIMER within the package.
6 *
7 * Constants for file sharing functions.
8 *
9 */
10
11#ifndef _SHARE_H_
12#define _SHARE_H_
13
14/* All the headers include this file. */
15#include <_mingw.h>
16
17#define _SH_COMPAT 0x00 /* Compatibility */
18#define _SH_DENYRW 0x10 /* Deny read/write */
19#define _SH_DENYWR 0x20 /* Deny write */
20#define _SH_DENYRD 0x30 /* Deny read */
21#define _SH_DENYNO 0x40 /* Deny nothing */
22
23#ifndef _NO_OLDNAMES
24
25/* Non ANSI names */
26#define SH_DENYRW _SH_DENYRW
27#define SH_DENYWR _SH_DENYWR
28#define SH_DENYRD _SH_DENYRD
29#define SH_DENYNO _SH_DENYNO
30
31#endif /* Not _NO_OLDNAMES */
32
33#endif /* Not _SHARE_H_ */
Note: See TracBrowser for help on using the repository browser.