aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-08-20 04:12:22 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-08-20 04:12:22 +0000
commit0ed575b596b2d3942e87d2b3d18c95d1ccf90676 (patch)
tree5d1be62a98af28129cf3f2a347e5f95d2dbfd343
parentea2b1b2ff0bfd690c3e0d8a88e93929fa416a2bf (diff)
downloadnewlib-0ed575b596b2d3942e87d2b3d18c95d1ccf90676.zip
newlib-0ed575b596b2d3942e87d2b3d18c95d1ccf90676.tar.gz
newlib-0ed575b596b2d3942e87d2b3d18c95d1ccf90676.tar.bz2
2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/float.h: Modify guard to accomodate CLang. Thanks to Ruben Van Boxem for the report.
-rw-r--r--winsup/mingw/ChangeLog6
-rw-r--r--winsup/mingw/include/float.h3
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index ca0b7a1..8e7e6bc 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,5 +1,11 @@
2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
+ * include/float.h: Modify guard to accomodate CLang.
+
+ Thanks to Ruben Van Boxem for the report.
+
+2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
+
* tlssup.c: Remove mingwm10.dll fallback.
2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
diff --git a/winsup/mingw/include/float.h b/winsup/mingw/include/float.h
index d5f2215..47017c9 100644
--- a/winsup/mingw/include/float.h
+++ b/winsup/mingw/include/float.h
@@ -26,7 +26,8 @@
* _FLOAT_H___ macro, may be found first, thus...
*
*/
-#ifndef _FLOAT_H___
+#if !defined(_FLOAT_H___) && !defined(__FLOAT_H)
+
/*
* ...when we didn't find the GCC-supplied header first, we want to pull
* it in now; include_next should achieve this, (and we must rely on the