Message ID | CAGWvnym7dr2hpyXzoa_x6wNy=vSxPcJY0+Cx4E50-tLYTxBVqQ@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | AIX os_defines.h update for math.h overloads | expand |
diff --git a/libstdc++-v3/config/os/aix/os_defines.h b/libstdc++-v3/config/os/aix/os_defines.h index 723a6533319..265e2941d1a 100644 --- a/libstdc++-v3/config/os/aix/os_defines.h +++ b/libstdc++-v3/config/os/aix/os_defines.h @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-3.0-or-later WITH GCC-exception-3.1 // Specific definitions for AIX -*- C++ -*- // Copyright (C) 2000-2021 Free Software Foundation, Inc. @@ -48,6 +49,10 @@ #define __COMPATMATH__ #endif +#ifndef __LIBC_NO_CPP_MATH_OVERLOADS__ +#define __LIBC_NO_CPP_MATH_OVERLOADS__ +#endif + // No support for referencing weak symbols without a definition. #define _GLIBCXX_USE_WEAK_REF 0