Commit 3e0105a4 by Gabriel Dos Reis Committed by Gabriel Dos Reis

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
parent a0a843c7
2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/c++config(__NO_MATH_INLINES): Move to...
* config/os/gnu-linux/bits/os_defines.h: ...here.
2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com> 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
* include/bits/c++config (__NO_MATH_INLINES): New macro. * include/bits/c++config (__NO_MATH_INLINES): New macro.
......
...@@ -51,6 +51,11 @@ typedef __loff_t __off64_t; ...@@ -51,6 +51,11 @@ typedef __loff_t __off64_t;
#undef __THROW #undef __THROW
#define __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. */ #endif /* not glibc 2.1 or higher. */
# if defined __GLIBC__ && __GLIBC__ >= 2 # if defined __GLIBC__ && __GLIBC__ >= 2
......
...@@ -33,11 +33,6 @@ ...@@ -33,11 +33,6 @@
// Pick up any OS-specific definitions. // Pick up any OS-specific definitions.
#include <bits/os_defines.h> #include <bits/os_defines.h>
// 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. // The current version of the C++ library in compressed ISO date format.
#define __GLIBCPP__ 20010517 #define __GLIBCPP__ 20010517
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment