Alexandre Julliard : cabinet/tests: Remove duplicate defines.

Alexandre Julliard julliard at winehq.org
Fri May 17 16:10:14 CDT 2019


Module: wine
Branch: master
Commit: d38ec9e226422dc2fb2b5461400ae09858a98012
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=d38ec9e226422dc2fb2b5461400ae09858a98012

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu May 16 22:55:12 2019 +0200

cabinet/tests: Remove duplicate defines.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/cabinet/tests/fdi.c | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/dlls/cabinet/tests/fdi.c b/dlls/cabinet/tests/fdi.c
index 80f6a3c..1f1c6e2 100644
--- a/dlls/cabinet/tests/fdi.c
+++ b/dlls/cabinet/tests/fdi.c
@@ -20,6 +20,8 @@
  */
 
 #include <stdio.h>
+#include <fcntl.h>
+#include <sys/stat.h>
 #include <windows.h>
 #include "fci.h"
 #include "fdi.h"
@@ -31,16 +33,6 @@
 
 static CHAR CURR_DIR[MAX_PATH];
 
-/* avoid including CRT headers */
-#ifndef _O_BINARY
-# define _O_BINARY 0x8000
-#endif
-
-#ifndef _S_IREAD
-# define _S_IREAD  0x0100
-# define _S_IWRITE 0x0080
-#endif
-
 #include <pshpack1.h>
 
 struct CFHEADER




More information about the wine-cvs mailing list