[ros-diffs] [cfinck] 31872: Hopefully the last fix to get this to compile under Windows and Unix hosts...

cfinck at svn.reactos.org cfinck at svn.reactos.org
Fri Jan 18 18:14:32 CET 2008


Author: cfinck
Date: Fri Jan 18 20:14:31 2008
New Revision: 31872

URL: http://svn.reactos.org/svn/reactos?rev=31872&view=rev
Log:
Hopefully the last fix to get this to compile under Windows and Unix hosts...

Modified:
    trunk/reactos/tools/widl/widl_ros.diff
    trunk/reactos/tools/widl/widltypes.h

Modified: trunk/reactos/tools/widl/widl_ros.diff
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/widl_ros.diff?rev=31872&r1=31871&r2=31872&view=diff
==============================================================================
--- trunk/reactos/tools/widl/widl_ros.diff (original)
+++ trunk/reactos/tools/widl/widl_ros.diff Fri Jan 18 20:14:31 2008
@@ -106,19 +106,18 @@
  #include <stdarg.h>
  #include "guiddef.h"
  #include "wine/rpcfc.h"
-@@ -31,8 +38,10 @@
- typedef GUID UUID;
- #endif
+@@ -34,6 +41,11 @@
+ #define TRUE 1
+ #define FALSE 0
  
--#define TRUE 1
--#define FALSE 0
 +// All hosts, which don't define O_BINARY, don't need it :-)
 +#ifndef O_BINARY
 +#define O_BINARY 0
 +#endif
- 
++
  typedef struct _attr_t attr_t;
  typedef struct _expr_t expr_t;
+ typedef struct _type_t type_t;
 Index: write_msft.c
 ===================================================================
 --- write_msft.c	(revision 31863)

Modified: trunk/reactos/tools/widl/widltypes.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/widltypes.h?rev=31872&r1=31871&r2=31872&view=diff
==============================================================================
--- trunk/reactos/tools/widl/widltypes.h (original)
+++ trunk/reactos/tools/widl/widltypes.h Fri Jan 18 20:14:31 2008
@@ -37,6 +37,9 @@
 #define UUID_DEFINED
 typedef GUID UUID;
 #endif
+
+#define TRUE 1
+#define FALSE 0
 
 // All hosts, which don't define O_BINARY, don't need it :-)
 #ifndef O_BINARY




More information about the Ros-diffs mailing list