build gr-iqbal w/ clang
Clang doesn't automatically define the "complex" keyword like old versions of GCC apparently used to. Appending this little check enabled compiling gr-iqbal w/ Clang, which is now the default compiler on OpenBSD and I think FreeBSD too.
This commit is contained in:
parent
dcd73fd549
commit
fc67c92f0a
|
@ -31,7 +31,7 @@
|
||||||
__GNUC_PATCHLEVEL__ \
|
__GNUC_PATCHLEVEL__ \
|
||||||
)
|
)
|
||||||
|
|
||||||
#if GCC_VERSION >= 40800
|
#if GCC_VERSION >= 40800 || defined(__clang__)
|
||||||
# define complex _Complex
|
# define complex _Complex
|
||||||
# undef _GLIBCXX_HAVE_COMPLEX_H
|
# undef _GLIBCXX_HAVE_COMPLEX_H
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue