aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2013-07-15 18:33:06 +0000
committerMatthias Klose <doko@gcc.gnu.org>2013-07-15 18:33:06 +0000
commitab0e837971e29cc217a6cb2691dfd29a2aa953c2 (patch)
tree81833b6d0f82b055b65f97dcd06a951157487948 /libgcc
parent0258b6e46602fef03af8758a17ae64fcd2fc835e (diff)
downloadgcc-ab0e837971e29cc217a6cb2691dfd29a2aa953c2.zip
gcc-ab0e837971e29cc217a6cb2691dfd29a2aa953c2.tar.gz
gcc-ab0e837971e29cc217a6cb2691dfd29a2aa953c2.tar.bz2
libgcc2.c: Don't include <limits.h>.
2013-07-15 Matthias Klose <doko@ubuntu.com> * libgcc2.c: Don't include <limits.h>. From-SVN: r200963
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/libgcc2.c36
2 files changed, 4 insertions, 36 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 0e1a11a..506fa43 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2013-07-15 Matthias Klose <doko@ubuntu.com>
+
+ * libgcc2.c: Don't include <limits.h>.
+
2013-07-09 Janis Johnson <janisjo@codesourcery.com>
* config.host (powerpc-*-eabispe*): Add t-fdpbit to tmake_file.
diff --git a/libgcc/libgcc2.c b/libgcc/libgcc2.c
index 641bc15..bec411b 100644
--- a/libgcc/libgcc2.c
+++ b/libgcc/libgcc2.c
@@ -1715,18 +1715,6 @@ FUNC (UDWtype u)
#endif
#if defined(L_fixunsxfsi) && LIBGCC2_HAS_XF_MODE
-/* Reenable the normal types, in case limits.h needs them. */
-#undef char
-#undef short
-#undef int
-#undef long
-#undef unsigned
-#undef float
-#undef double
-#undef MIN
-#undef MAX
-#include <limits.h>
-
UWtype
__fixunsxfSI (XFtype a)
{
@@ -1737,18 +1725,6 @@ __fixunsxfSI (XFtype a)
#endif
#if defined(L_fixunsdfsi) && LIBGCC2_HAS_DF_MODE
-/* Reenable the normal types, in case limits.h needs them. */
-#undef char
-#undef short
-#undef int
-#undef long
-#undef unsigned
-#undef float
-#undef double
-#undef MIN
-#undef MAX
-#include <limits.h>
-
UWtype
__fixunsdfSI (DFtype a)
{
@@ -1759,18 +1735,6 @@ __fixunsdfSI (DFtype a)
#endif
#if defined(L_fixunssfsi) && LIBGCC2_HAS_SF_MODE
-/* Reenable the normal types, in case limits.h needs them. */
-#undef char
-#undef short
-#undef int
-#undef long
-#undef unsigned
-#undef float
-#undef double
-#undef MIN
-#undef MAX
-#include <limits.h>
-
UWtype
__fixunssfSI (SFtype a)
{