From: Gabriel Dos Reis Date: Thu, 24 May 2001 20:51:33 +0000 (+0000) Subject: c++config (__NO_MATH_INLINES): Move to... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e0105a41d387cbd41d5a6f2c9e27ac34c6c4a0a;p=gcc.git c++config (__NO_MATH_INLINES): Move to... * include/bits/c++config(__NO_MATH_INLINES): Move to... * config/os/gnu-linux/bits/os_defines.h: ...here. From-SVN: r42538 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 70ce13ed734..c69a31add8b 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2001-05-24 Gabriel Dos Reis + + * include/bits/c++config(__NO_MATH_INLINES): Move to... + * config/os/gnu-linux/bits/os_defines.h: ...here. + 2001-05-24 Gabriel Dos Reis * include/bits/c++config (__NO_MATH_INLINES): New macro. diff --git a/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h b/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h index 72c22425534..538b35442c8 100644 --- a/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h +++ b/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h @@ -51,6 +51,11 @@ typedef __loff_t __off64_t; #undef __THROW #define __THROW +// Tell Glibc not to try to provide its own inline versions of +// some math functions. Those cause assembly-time clashes with +// our definitions. +#define __NO_MATH_INLINES + #endif /* not glibc 2.1 or higher. */ # if defined __GLIBC__ && __GLIBC__ >= 2 diff --git a/libstdc++-v3/include/bits/c++config b/libstdc++-v3/include/bits/c++config index bd9c55cb9ae..f87f58e03fd 100644 --- a/libstdc++-v3/include/bits/c++config +++ b/libstdc++-v3/include/bits/c++config @@ -33,11 +33,6 @@ // Pick up any OS-specific definitions. #include -// Tell Glibc not to try to provide its own inline versions of -// some math functions. Those cause assembly-time clashes with -// our definitions. -#define __NO_MATH_INLINES - // The current version of the C++ library in compressed ISO date format. #define __GLIBCPP__ 20010517