comparison packages/isoinfra/current/include/assert.h @ 2168:3a79ecd0c13f

* 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.
author jlarmour
date Tue, 28 Mar 2006 13:45:12 +0000
parents d2c90368aeef
children 74dbf4c3f2e1
comparison
equal deleted inserted replaced
2167:27ecc11e99bd 2168:3a79ecd0c13f
71 # define assert( __bool ) ((void)0) 71 # define assert( __bool ) ((void)0)
72 # else /* if NDEBUG is NOT defined */ 72 # else /* if NDEBUG is NOT defined */
73 73
74 /* First preference is to be standards compliant */ 74 /* First preference is to be standards compliant */
75 75
76 #if defined(CYGINT_ISO_STDIO_FORMATTED_IO) && defined(CYGINT_ISO_EXIT) 76 #if defined(CYGINT_ISO_STDIO_FORMATTED_IO) && CYGINT_ISO_EXIT
77 77
78 # include <stdio.h> 78 # include <stdio.h>
79 # include <stdlib.h> 79 # include <stdlib.h>
80 80
81 # define assert( __bool ) \ 81 # define assert( __bool ) \