]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Use #error instead of a syntax error when the compile
authorhno <>
Thu, 11 Jan 2001 03:16:36 +0000 (03:16 +0000)
committerhno <>
Thu, 11 Jan 2001 03:16:36 +0000 (03:16 +0000)
needs to bail out..
(Adrian, GNATS bug id 20)

include/snprintf.h

index d3fc221870ceea738d95b121cac7c743f313ed1d..6ea042582104c4882625d5c52bd17ed4a2554cb6 100644 (file)
@@ -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