Define TRUE only if it hasn't been defined before

svn path=/trunk/; revision=36390
This commit is contained in:
Eric Kohl
2008-09-21 19:57:05 +00:00
parent 033cea3fa6
commit 1c1bfdafe2
2 changed files with 12 additions and 0 deletions

View 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)

View File

@@ -38,7 +38,9 @@
typedef GUID UUID;
#endif
#ifndef TRUE
#define TRUE 1
#endif
#define FALSE 0
typedef struct _attr_t attr_t;