# HG changeset patch # User jlarmour # Date 1143553512 0 # Node ID 3a79ecd0c13f753a46482c5532a8d02404f00c2d # Parent 27ecc11e99bd8f91f44849c696005a5ab79869c3 * 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. diff --git a/packages/isoinfra/current/ChangeLog b/packages/isoinfra/current/ChangeLog --- a/packages/isoinfra/current/ChangeLog +++ b/packages/isoinfra/current/ChangeLog @@ -1,3 +1,10 @@ +2006-03-17 Sergei Organov + + * 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 Andrew Lunn diff --git a/packages/isoinfra/current/include/assert.h b/packages/isoinfra/current/include/assert.h --- a/packages/isoinfra/current/include/assert.h +++ b/packages/isoinfra/current/include/assert.h @@ -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 # include