diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2021-07-21 14:06:45 -0400 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2021-07-22 11:30:34 -0400 |
commit | 3f7a2374d312112ea9a858dbbb883edf50730e96 (patch) | |
tree | 2c8a71614c879b25c3b4b7a85d16df535afd09f1 /gcc | |
parent | c9ca352186226ae757688e160e7c6f394c9f26aa (diff) | |
download | gcc-3f7a2374d312112ea9a858dbbb883edf50730e96.zip gcc-3f7a2374d312112ea9a858dbbb883edf50730e96.tar.gz gcc-3f7a2374d312112ea9a858dbbb883edf50730e96.tar.bz2 |
aix: Protect AIX math.h overloads with new macro.
AIX math.h provides C++ overloaded inlined math functions, which should
not be present for G++. The definitions have been guaded by
__COMPATMATH__, but that macro had other uses in IBM xlC++. A new
macro has been introduced with the sole purpose of guarding the functions.
This patch updates libstdc++ os_defines.h to define the additional macro.
The earlier macro definition is retained to guard the functions in the
math.h header of earlier AIX releases.
libstdc++-v3/ChangeLog:
* config/os/aix/os_defines.h (__LIBC_NO_CPP_MATH_OVERLOADS__): Define.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions