msvcmaker: Define _USE_MATH_DEFINES so that M_PI and other constants are defined...
[wine/multimedia.git] / include / msvcrt / fcntl.h
blob7a6c6ec7fe8fdf0de98d15e34e46708a0125b42e
1 /*
2 * File definitions
4 * Derived from the mingw header written by Colin Peters.
5 * Modified for Wine use by Jon Griffiths and Francois Gouget.
6 * This file is in the public domain.
7 */
8 #ifndef __WINE_FCNTL_H
9 #define __WINE_FCNTL_H
10 #ifndef __WINE_USE_MSVCRT
11 #define __WINE_USE_MSVCRT
12 #endif
14 #define _O_RDONLY 0
15 #define _O_WRONLY 1
16 #define _O_RDWR 2
17 #define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
18 #define _O_APPEND 0x0008
19 #define _O_RANDOM 0x0010
20 #define _O_SEQUENTIAL 0x0020
21 #define _O_TEMPORARY 0x0040
22 #define _O_NOINHERIT 0x0080
23 #define _O_CREAT 0x0100
24 #define _O_TRUNC 0x0200
25 #define _O_EXCL 0x0400
26 #define _O_SHORT_LIVED 0x1000
27 #define _O_TEXT 0x4000
28 #define _O_BINARY 0x8000
29 #define _O_RAW _O_BINARY
32 #define O_RDONLY _O_RDONLY
33 #define O_WRONLY _O_WRONLY
34 #define O_RDWR _O_RDWR
35 #define O_ACCMODE _O_ACCMODE
36 #define O_APPEND _O_APPEND
37 #define O_RANDOM _O_RANDOM
38 #define O_SEQENTIAL _O_SEQUENTIAL
39 #define O_TEMPORARY _O_TEMPORARY
40 #define O_NOINHERIT _O_NOINHERIT
41 #define O_CREAT _O_CREAT
42 #define O_TRUNC _O_TRUNC
43 #define O_EXCL _O_EXCL
44 #define O_TEXT _O_TEXT
45 #define O_BINARY _O_BINARY
46 #define O_RAW _O_BINARY
48 #endif /* __WINE_FCNTL_H */