summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-15 18:33:06 +0000
committerdoko <doko@138bc75d-0d04-0410-961f-82ee72b054a4>2013-07-15 18:33:06 +0000
commit6dcb849ccd73e88196af928dbb2023ec7be9ea1b (patch)
tree81833b6d0f82b055b65f97dcd06a951157487948
parent5088e47915ee90386de2b1a019566dca5ff79154 (diff)
downloadgcc-6dcb849ccd73e88196af928dbb2023ec7be9ea1b.tar.gz
2013-07-15 Matthias Klose <doko@ubuntu.com>
* libgcc2.c: Don't include <limits.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200963 138bc75d-0d04-0410-961f-82ee72b054a4
-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 0e1a11a3df0..506fa43bdc0 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 641bc1521ed..bec411be0b5 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)
{