mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01:00
Clang has its own <tgmath.h> and doesn't use <tgmath.h> from glibc. Pass "-I." to compiler only if $($(<F)-no-include-dot) are undefined. Define it to yes for tgmath tests when testing with Clang. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Sam James <sam@gentoo.org>
7 lines
188 B
C
7 lines
188 B
C
/* 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
|