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] #2. Fix configuration in assert.h.


Corrected patch for the assert.h.

Index: packages/isoinfra/current/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-17  Sergei Organov  <osv@javad.com>
+
+	* include/assert.h: Replace #if defined(CYGINT_ISO_EXIT) with #if
+	CYGINT_ISO_EXIT. CYGINT_ISO_EXIT configuration variable is always
+	defined to either 0 or 1, so check of the former form is 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
--- 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 defined(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]