cabarc: Fix compilation under Windows.

This commit is contained in:
Dmitry Timoshkov 2013-08-02 12:22:24 +09:00 committed by Alexandre Julliard
parent ce0e3158b2
commit 452a64e3a7
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabarc);
#define _O_RDONLY 0
#define _O_WRONLY 1
#define _O_RDWR 2
#define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
#define _O_APPEND 0x0008
#define _O_RANDOM 0x0010
#define _O_SEQUENTIAL 0x0020
@ -53,6 +52,10 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabarc);
#define _O_BINARY 0x8000
#endif
#ifndef _O_ACCMODE
#define _O_ACCMODE (_O_RDONLY|_O_WRONLY|_O_RDWR)
#endif
#ifndef _SH_COMPAT
#define _SH_COMPAT 0x00
#define _SH_DENYRW 0x10