[email protected] wrote:
Enlightenment CVS committal

Author  : sebastid
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/lib/ecore


Modified Files:
Ecore.h ecore_private.h

Log Message:
Export TRUE/FALSE

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/lib/ecore/Ecore.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- Ecore.h     5 Sep 2005 10:17:08 -0000       1.24
+++ Ecore.h     6 Sep 2005 19:26:19 -0000       1.25
@@ -43,6 +43,14 @@
 #include <sys/types.h>
 #include <signal.h>
+#ifndef TRUE
+#define TRUE 1
+#endif
+
+#ifndef FALSE
+#define FALSE 0
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif

Is this really a good idea? I have over the years seen way too many cases of clashing definitions of TRUE/True/true, FALSE/False/false.

/Kim


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to