diff options
Diffstat (limited to 'src/socket_wrapper.c')
| -rw-r--r-- | src/socket_wrapper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket_wrapper.c b/src/socket_wrapper.c index 4964ec1..f6e14b7 100644 --- a/src/socket_wrapper.c +++ b/src/socket_wrapper.c @@ -73,11 +73,11 @@ enum swrap_dbglvl_e { }; /* GCC have printf type attribute check. */ -#ifdef __GNUC__ +#ifdef HAVE_FUNCTION_ATTRIBUTE_FORMAT #define PRINTF_ATTRIBUTE(a,b) __attribute__ ((__format__ (__printf__, a, b))) #else #define PRINTF_ATTRIBUTE(a,b) -#endif /* __GNUC__ */ +#endif /* HAVE_FUNCTION_ATTRIBUTE_FORMAT */ #ifdef HAVE_DESTRUCTOR_ATTRIBUTE #define DESTRUCTOR_ATTRIBUTE __attribute__ ((destructor)) |
