aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-05-31 12:22:06 +0100
committerJonathan Wakely <jwakely@redhat.com>2023-05-31 21:10:49 +0100
commit49f59826c66bcaa3531429381b4aed944c332e5b (patch)
tree2c37a171a0d7c3baba25939a0f350c1c4bd6c7cf /gcc
parent1f378f6dd33ad5067a437d1c456979f8662020d6 (diff)
downloadgcc-49f59826c66bcaa3531429381b4aed944c332e5b.zip
gcc-49f59826c66bcaa3531429381b4aed944c332e5b.tar.gz
gcc-49f59826c66bcaa3531429381b4aed944c332e5b.tar.bz2
libstdc++: Add separate autoconf macro for std::float_t and std::double_t [PR109818]
This should make it possible to use openlibm with djgpp (and other targets with missing C99 <math.h> functions). The <math.h> from openlibm provides all the functions, but not the float_t and double_t typedefs. By separating the autoconf checks for the functionsand the typedefs, we don't disable support for all the functions just because those typedefs are not present. libstdc++-v3/ChangeLog: PR libstdc++/109818 * acinclude.m4 (GLIBCXX_ENABLE_C99): Add separate check for float_t and double_t and define HAVE_C99_FLT_EVAL_TYPES. * config.h.in: Regenerate. * configure: Regenerate. * include/c_global/cmath (float_t, double_t): Guard using new _GLIBCXX_HAVE_C99_FLT_EVAL_TYPES macro.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions