Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-08-20 08:12:22 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2011-08-20 08:12:22 +0400
commit0ed575b596b2d3942e87d2b3d18c95d1ccf90676 (patch)
tree5d1be62a98af28129cf3f2a347e5f95d2dbfd343
parentea2b1b2ff0bfd690c3e0d8a88e93929fa416a2bf (diff)
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 ca0b7a17b..8e7e6bcee 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 d5f22151e..47017c9c7 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