mirror of
https://github.com/reactos/reactos.git
synced 2025-06-07 02:10:36 +00:00
Hopefully the last fix to get this to compile under Windows and Unix hosts...
svn path=/trunk/; revision=31872
This commit is contained in:
parent
b93ff8eedd
commit
06fcf0c718
2 changed files with 8 additions and 6 deletions
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue