From 0ed575b596b2d3942e87d2b3d18c95d1ccf90676 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Sat, 20 Aug 2011 04:12:22 +0000 Subject: 2011-08-19 Chris Sutcliffe * include/float.h: Modify guard to accomodate CLang. Thanks to Ruben Van Boxem for the report. --- winsup/mingw/ChangeLog | 6 ++++++ winsup/mingw/include/float.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index ca0b7a17b..8e7e6bcee 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2011-08-19 Chris Sutcliffe + + * include/float.h: Modify guard to accomodate CLang. + + Thanks to Ruben Van Boxem for the report. + 2011-08-19 Chris Sutcliffe * tlssup.c: Remove mingwm10.dll fallback. 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 -- cgit v1.2.3