Hopefully the last fix to get this to compile under Windows and Unix hosts...

svn path=/trunk/; revision=31872
This commit is contained in:
Colin Finck 2008-01-18 17:14:31 +00:00
parent b93ff8eedd
commit 06fcf0c718
2 changed files with 8 additions and 6 deletions

View file

@ -106,19 +106,18 @@ Index: widltypes.h
#include <stdarg.h> #include <stdarg.h>
#include "guiddef.h" #include "guiddef.h"
#include "wine/rpcfc.h" #include "wine/rpcfc.h"
@@ -31,8 +38,10 @@ @@ -34,6 +41,11 @@
typedef GUID UUID; #define TRUE 1
#endif #define FALSE 0
-#define TRUE 1
-#define FALSE 0
+// All hosts, which don't define O_BINARY, don't need it :-) +// All hosts, which don't define O_BINARY, don't need it :-)
+#ifndef O_BINARY +#ifndef O_BINARY
+#define O_BINARY 0 +#define O_BINARY 0
+#endif +#endif
+
typedef struct _attr_t attr_t; typedef struct _attr_t attr_t;
typedef struct _expr_t expr_t; typedef struct _expr_t expr_t;
typedef struct _type_t type_t;
Index: write_msft.c Index: write_msft.c
=================================================================== ===================================================================
--- write_msft.c (revision 31863) --- write_msft.c (revision 31863)

View file

@ -38,6 +38,9 @@
typedef GUID UUID; typedef GUID UUID;
#endif #endif
#define TRUE 1
#define FALSE 0
// All hosts, which don't define O_BINARY, don't need it :-) // All hosts, which don't define O_BINARY, don't need it :-)
#ifndef O_BINARY #ifndef O_BINARY
#define O_BINARY 0 #define O_BINARY 0