Define TRUE only if it hasn't been defined before
[reactos.git] / reactos / tools / widl / widl_ros.diff
index 84aff98..fa681a0 100644 (file)
@@ -110,6 +110,16 @@ Index: widltypes.h
  #include <stdarg.h>
  #include "guiddef.h"
  #include "wine/rpcfc.h"
+@@ -38,7 +38,9 @@
+ typedef GUID UUID;
+ #endif
++#ifndef TRUE
+ #define TRUE 1
++#endif
+ #define FALSE 0
+ typedef struct _attr_t attr_t;
 Index: write_msft.c
 ===================================================================
 --- write_msft.c       (revision 32187)