Commit 452a64e3 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

cabarc: Fix compilation under Windows.

parent ce0e3158
...@@ -39,7 +39,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabarc); ...@@ -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); ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment