This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix configuration in assert.h.


Index: packages/isoinfra/current/ChangeLog
===================================================================
RCS file: /var/local/group/firmware/cvsroot/ecos/packages/isoinfra/current/ChangeLog,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 ChangeLog
--- packages/isoinfra/current/ChangeLog	7 Dec 2005 12:06:35 -0000	1.1.1.1
+++ packages/isoinfra/current/ChangeLog	7 Mar 2006 16:22:55 -0000
@@ -1,3 +1,10 @@
+2006-03-07  Sergei Organov  <osv@javad.com>
+
+	* include/assert.h: Replace #if defined(CYGINT_xxx) with #if
+	CYGINT_xxx. CYGINT_xxx configuration variables are always
+	defined to either 0 or 1, so checks of the former form are always
+	evaluated to true.
+					 
 2005-10-20  Alexander Neundorf <neundorf@kde.org>
 	    Andrew Lunn  <andrew.lunn@ascom.ch>
 
Index: packages/isoinfra/current/include/assert.h
===================================================================
RCS file: /var/local/group/firmware/cvsroot/ecos/packages/isoinfra/current/include/assert.h,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 assert.h
--- packages/isoinfra/current/include/assert.h	7 Dec 2005 12:06:35 -0000	1.1.1.1
+++ packages/isoinfra/current/include/assert.h	7 Mar 2006 15:27:50 -0000
@@ -73,7 +73,7 @@
 
 /* First preference is to be standards compliant */
 
-#if defined(CYGINT_ISO_STDIO_FORMATTED_IO) && defined(CYGINT_ISO_EXIT)
+#if CYGINT_ISO_STDIO_FORMATTED_IO && CYGINT_ISO_EXIT
 
 # include <stdio.h>
 # include <stdlib.h>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]