diff options
Diffstat (limited to 'src/libical/autogenex/ical.h')
-rw-r--r-- | src/libical/autogenex/ical.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libical/autogenex/ical.h b/src/libical/autogenex/ical.h index 572133d..1b6e6da 100644 --- a/src/libical/autogenex/ical.h +++ b/src/libical/autogenex/ical.h @@ -3272,7 +3272,7 @@ if(icalerror_get_error_state(x)==ICAL_ERROR_FATAL || \ void icalerror_set_errno(icalerrorenum x); #endif -#ifdef ICAL_ERRORS_ARE_FATAL +#if ICAL_ERRORS_ARE_FATAL == 1 #undef NDEBUG #endif @@ -3282,7 +3282,7 @@ void icalerror_set_errno(icalerrorenum x); #define icalerror_check_component_type(value,type); /* Assert with a message */ -#ifdef ICAL_ERRORS_ARE_FATAL +#if ICAL_ERRORS_ARE_FATAL == 1 #ifdef __GNUC__ #define icalerror_assert(test,message) if(!(test)){fprintf(stderr,"%s(), %s:%d: %s\n",__FUNCTION__,__FILE__,__LINE__,message);icalerror_stop_here(); abort();} |