mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +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 */
|
/* For GNU C, tell the compiler to check printf like formatters */
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#define PRINTF_ATTRIBUTE(a,b) __attribute__((format (printf, a, b)))
|
#define PRINTF_ATTRIBUTE(a,b) __attribute__((format (printf, a, b)))
|
||||||
|
#else
|
||||||
|
#define PRINTF_ATTRIBUTE(a,b)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "msc_logging.h"
|
#include "msc_logging.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user