X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Fmytypes.h;h=7a83da83fadd89d6a321fcc802504ecc8b0df3ec;hp=abf1f53338605d8aa204802383890832629dabfb;hb=b3c261f710276f28ea23bf86dddacdf5fb4612b4;hpb=1ba28e2b955b005ce4825fec792df17f75a8de1e 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)