aboutsummaryrefslogtreecommitdiff
path: root/libio/tst-atime.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-28 23:12:49 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-28 23:12:49 +0000
commit547e970409b18021b63bfded0ffd852b8dcc4d3a (patch)
tree3757c1abd15a33b65e3a0c80d60a8ce2c3058deb /libio/tst-atime.c
parentc9070e6305c08365c5f8b604bdca39c699d70cfa (diff)
downloadglibc-547e970409b18021b63bfded0ffd852b8dcc4d3a.zip
glibc-547e970409b18021b63bfded0ffd852b8dcc4d3a.tar.gz
glibc-547e970409b18021b63bfded0ffd852b8dcc4d3a.tar.bz2
Fix sysdeps/ia64/fpu/libm-symbols.h for inclusion in testcases.
IA64 builds in math/ use "-include libm-symbols.h". This breaks the signgam tests, which rely on undefining _LIBC and feature test macros and defining _ISOMAC before including system headers to get them to provide only ISO C declarations (libm-symbols.h ending up indirectly including headers which result in this breaking); similarly, it breaks C++ tests as some headers included from libm-symbols.h are not ready for inclusion in C++ code. This patch disables the contents of libm-symbols.h if __STRICT_ANSI__ or __cplusplus are defined to avoid this problem (this header can only test symbols defined before the source file is processed, so can't test _ISOMAC because that's defined within the source file, after this header is included). Tested (compilation only) for ia64. * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on [!__STRICT_ANSI__ && !__cplusplus].
Diffstat (limited to 'libio/tst-atime.c')
0 files changed, 0 insertions, 0 deletions