X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1ba28e2b955b005ce4825fec792df17f75a8de1e..b3c261f710276f28ea23bf86dddacdf5fb4612b4:/src/src/mytypes.h diff --git a/src/src/mytypes.h b/src/src/mytypes.h index abf1f5333..7a83da83f 100644 --- a/src/src/mytypes.h +++ b/src/src/mytypes.h @@ -31,7 +31,7 @@ local_scan.h includes it and exim.h includes them both (to get this earlier). */ /* If gcc is being used to compile Exim, we can use its facility for checking the arguments of printf-like functions. This is done by a macro. */ -#ifdef __GNUC__ +#if defined(__GNUC__) || defined(__clang__) #define PRINTF_FUNCTION(A,B) __attribute__((format(printf,A,B))) #else #define PRINTF_FUNCTION(A,B)