]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
limits.h (__glibcpp_long_double_bits): Only define if not already provided by per...
authorLoren J. Rittle <ljrittle@acm.org>
Fri, 24 Aug 2001 21:57:15 +0000 (21:57 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Fri, 24 Aug 2001 21:57:15 +0000 (21:57 +0000)
        * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
        define if not already provided by per-OS file.
        * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
        Define.

From-SVN: r45165

libstdc++-v3/ChangeLog
libstdc++-v3/config/cpu/i386/bits/limits.h
libstdc++-v3/config/os/bsd/freebsd/bits/os_defines.h

index 0067aba18b452bb2b9d88717b2c67e3feab2134c..2bd6f208cd1cd5b9548eb9ea83208a54bbfe16ba 100644 (file)
@@ -1,3 +1,10 @@
+2001-08-24  Loren J. Rittle  <ljrittle@acm.org>
+
+       * config/cpu/i386/bits/limits.h (__glibcpp_long_double_bits): Only
+       define if not already provided by per-OS file.
+       * config/os/bsd/freebsd/bits/os_defines.h (__glibcpp_long_double_bits):
+       Define.
+
 2001-08-24  Jan van Male <jan.vanmale@fenk.wau.nl>
 
        * docs/html/17_intro/C++STYLE:  Fix typo.
index be304e2d8055a3b5a7bdf5129ac0abc703ec6fe4..31b6eab5d224dc2d1d64291916d10974647c6fe3 100644 (file)
@@ -28,6 +28,9 @@
 #ifndef _GLIBCPP_CPU_LIMITS
 #define _GLIBCPP_CPU_LIMITS 1
 
+// Some operating systems set this
+#ifndef __glibcpp_long_double_bits
 #define __glibcpp_long_double_bits 80
+#endif
 
 #endif
index 3a6803f8f3d6158b82bdd786edb172663c57530f..3c31f3a1051385207cf1244c518acb88ffcc3258 100644 (file)
@@ -35,6 +35,8 @@
 /* System-specific #define, typedefs, corrections, etc, go here.  This
    file will come before all others. */
 
+#define __glibcpp_long_double_bits __glibcpp_double_bits
+
 #define _GLIBCPP_AVOID_FSEEK 1
 
 #endif