Be sure to not redefine TRUE and FALSE macros.
authorManuele Conti <conti.ma@alice.it>
Mon, 12 Nov 2012 22:36:55 +0100
changeset 743 fbf77edf54ca
parent 741 cdce312be3c4
child 744 6ecb38715724
Be sure to not redefine TRUE and FALSE macros.
lib/iec_types_all.h
--- a/lib/iec_types_all.h	Mon Nov 12 22:33:58 2012 +0100
+++ b/lib/iec_types_all.h	Mon Nov 12 22:36:55 2012 +0100
@@ -62,8 +62,10 @@
 /* Include non windows.h clashing typedefs */
 #include "iec_types.h"
 
-#define TRUE 1
-#define FALSE 0
+#ifndef TRUE
+  #define TRUE 1
+  #define FALSE 0
+#endif
 
 #define __IEC_DEBUG_FLAG 0x01
 #define __IEC_FORCE_FLAG 0x02