Added missing #else block for printf attributes.

This commit is contained in:
brectanus 2007-11-27 00:17:50 +00:00
parent e47fdeb420
commit 800cfc2cc2

View File

@ -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"