diff options
author | Mattias Andrée <maandree@kth.se> | 2018-08-29 17:54:31 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2018-08-29 17:54:31 +0200 |
commit | 22b45516531456ccfd84eb92037061ce0e2cc751 (patch) | |
tree | dae2ed7a56956876d214459a64d9ad5ec1924733 | |
parent | Circumvent GCC bugs in test code when optimised (diff) | |
download | libsimple-22b45516531456ccfd84eb92037061ce0e2cc751.tar.gz libsimple-22b45516531456ccfd84eb92037061ce0e2cc751.tar.bz2 libsimple-22b45516531456ccfd84eb92037061ce0e2cc751.tar.xz |
Fix clang support
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | libsimple.h | 2 |
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);\ |