Avoid GCC complaining about redefinition of macros
This commit is contained in:
parent
815e0d909d
commit
a804dcb4b6
@ -15,10 +15,10 @@
|
|||||||
|
|
||||||
#define LOG_VERSION "0.1.0"
|
#define LOG_VERSION "0.1.0"
|
||||||
|
|
||||||
#define RXI_LOGC_PRINTF_ATTRIB(n, m)
|
|
||||||
|
|
||||||
#if defined __GNUC__
|
#if defined __GNUC__
|
||||||
# define RXI_LOGC_PRINTF_ATTRIB(n, m) __attribute__((format(printf, n, m)))
|
# define RXI_LOGC_PRINTF_ATTRIB(n, m) __attribute__((format(printf, n, m)))
|
||||||
|
#else
|
||||||
|
# define RXI_LOGC_PRINTF_ATTRIB(n, m)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user