diff options
Diffstat (limited to 'include/tgmath.h')
-rw-r--r-- | include/tgmath.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/tgmath.h b/include/tgmath.h index 3a2c4a2..1e81bcb 100644 --- a/include/tgmath.h +++ b/include/tgmath.h @@ -1 +1,7 @@ -#include <math/tgmath.h> +/* NB: Clang has its own <tgmath.h> and doesn't use <tgmath.h> from + glibc. */ +#if defined _ISOMAC && defined __clang__ +# include_next <tgmath.h> +#else +# include <math/tgmath.h> +#endif |