mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Added missing #else block for printf attributes.
This commit is contained in:
parent
e47fdeb420
commit
800cfc2cc2
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user