Mercurial > molko
diff libcore/core/plat.h @ 164:87f8ef73a160
doc: some fixes
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 18 Oct 2020 17:26:39 +0200 |
parents | 789b23e01f52 |
children | eb0a7ab71023 |
line wrap: on
line diff
--- a/libcore/core/plat.h Sun Oct 18 17:14:42 2020 +0200 +++ b/libcore/core/plat.h Sun Oct 18 17:26:39 2020 +0200 @@ -38,10 +38,10 @@ #else -#if defined(__GNUC__) -#define PLAT_PRINTF(p1, p2) __attribute__ ((format (printf, p1, p2))) +#if defined(__GNUC__) || defined(__clang__) +# define PLAT_PRINTF(p1, p2) __attribute__ ((format (printf, p1, p2))) #else -#define PLAT_PRINTF(p1, p2) +# define PLAT_PRINTF(p1, p2) #endif #endif /* !DOXYGEN */