From 800cfc2cc2bd5c7a10df738005c969e3c490e2f8 Mon Sep 17 00:00:00 2001 From: brectanus Date: Tue, 27 Nov 2007 00:17:50 +0000 Subject: [PATCH] Added missing #else block for printf attributes. --- apache2/modsecurity.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apache2/modsecurity.h b/apache2/modsecurity.h index 8ff1ac55..a3776823 100644 --- a/apache2/modsecurity.h +++ b/apache2/modsecurity.h @@ -33,6 +33,8 @@ typedef struct msc_string msc_string; /* For GNU C, tell the compiler to check printf like formatters */ #if defined(__GNUC__) #define PRINTF_ATTRIBUTE(a,b) __attribute__((format (printf, a, b))) +#else +#define PRINTF_ATTRIBUTE(a,b) #endif #include "msc_logging.h"