mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 21:55:28 +00:00
cabarc: Fix compilation under Windows.
This commit is contained in:
parent
ce0e3158b2
commit
452a64e3a7
|
@ -39,7 +39,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabarc);
|
||||||
#define _O_RDONLY 0
|
#define _O_RDONLY 0
|
||||||
#define _O_WRONLY 1
|
#define _O_WRONLY 1
|
||||||
#define _O_RDWR 2
|
#define _O_RDWR 2
|
||||||
#define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
|
|
||||||
#define _O_APPEND 0x0008
|
#define _O_APPEND 0x0008
|
||||||
#define _O_RANDOM 0x0010
|
#define _O_RANDOM 0x0010
|
||||||
#define _O_SEQUENTIAL 0x0020
|
#define _O_SEQUENTIAL 0x0020
|
||||||
|
@ -53,6 +52,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabarc);
|
||||||
#define _O_BINARY 0x8000
|
#define _O_BINARY 0x8000
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _O_ACCMODE
|
||||||
|
#define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SH_COMPAT
|
#ifndef _SH_COMPAT
|
||||||
#define _SH_COMPAT 0x00
|
#define _SH_COMPAT 0x00
|
||||||
#define _SH_DENYRW 0x10
|
#define _SH_DENYRW 0x10
|
||||||
|
|
Loading…
Reference in a new issue