From: hno <> Date: Thu, 11 Jan 2001 03:16:36 +0000 (+0000) Subject: Use #error instead of a syntax error when the compile X-Git-Tag: SQUID_3_0_PRE1~1658 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ad047cf4806df0036ab97b636b91755099ab5c4;p=thirdparty%2Fsquid.git Use #error instead of a syntax error when the compile needs to bail out.. (Adrian, GNATS bug id 20) --- diff --git a/include/snprintf.h b/include/snprintf.h index d3fc221870..6ea0425821 100644 --- a/include/snprintf.h +++ b/include/snprintf.h @@ -1,5 +1,5 @@ /* - * $Id: snprintf.h,v 1.4 1998/09/23 17:20:05 wessels Exp $ + * $Id: snprintf.h,v 1.5 2001/01/10 20:16:36 hno Exp $ */ /* if you have configure you can use this */ @@ -26,7 +26,7 @@ #define VA_SHIFT(v,t) v = va_arg(ap,t) #define VA_END va_end(ap) #else -XX **NO VARARGS ** XX +#error **NO VARARGS ** #endif #endif