aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libsimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsimple.h b/libsimple.h
index 1d8abf5..1811233 100644
--- a/libsimple.h
+++ b/libsimple.h
@@ -626,7 +626,7 @@ int libsimple_vasprintf(char **, const char *, va_list);
# define vasprintf libsimple_vasprintf
#endif
-#if defined(__GNUC__) && !defined(__clang__)
+#if defined(__GNUC__) || defined(__clang__)
# define libsimple_asprintfa(__fmt, ...)\
({\
const char *__f = (__fmt);\