Mercurial > molko
comparison 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 |
comparison
equal
deleted
inserted
replaced
163:4bbfcd9180a8 | 164:87f8ef73a160 |
---|---|
36 */ | 36 */ |
37 #define PLAT_PRINTF(p1, p2) | 37 #define PLAT_PRINTF(p1, p2) |
38 | 38 |
39 #else | 39 #else |
40 | 40 |
41 #if defined(__GNUC__) | 41 #if defined(__GNUC__) || defined(__clang__) |
42 #define PLAT_PRINTF(p1, p2) __attribute__ ((format (printf, p1, p2))) | 42 # define PLAT_PRINTF(p1, p2) __attribute__ ((format (printf, p1, p2))) |
43 #else | 43 #else |
44 #define PLAT_PRINTF(p1, p2) | 44 # define PLAT_PRINTF(p1, p2) |
45 #endif | 45 #endif |
46 | 46 |
47 #endif /* !DOXYGEN */ | 47 #endif /* !DOXYGEN */ |
48 | 48 |
49 #endif /* !MOLKO_PLAT_H */ | 49 #endif /* !MOLKO_PLAT_H */ |