From: Eric Kohl Date: Sun, 21 Sep 2008 19:57:05 +0000 (+0000) Subject: Define TRUE only if it hasn't been defined before X-Git-Tag: backups/ros-branch-0_3_7@37061~129 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=1c1bfdafe260b656de4a04171f8752b69c8a2b16 Define TRUE only if it hasn't been defined before svn path=/trunk/; revision=36390 --- diff --git a/reactos/tools/widl/widl_ros.diff b/reactos/tools/widl/widl_ros.diff index 84aff9839cd..fa681a0feb0 100644 --- a/reactos/tools/widl/widl_ros.diff +++ b/reactos/tools/widl/widl_ros.diff @@ -110,6 +110,16 @@ Index: widltypes.h #include #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) diff --git a/reactos/tools/widl/widltypes.h b/reactos/tools/widl/widltypes.h index af602f40c8a..6be4d86b731 100644 --- a/reactos/tools/widl/widltypes.h +++ b/reactos/tools/widl/widltypes.h @@ -38,7 +38,9 @@ typedef GUID UUID; #endif +#ifndef TRUE #define TRUE 1 +#endif #define FALSE 0 typedef struct _attr_t attr_t;