2915
|
1 This file is part of MXE. |
|
2 See index.html for further information. |
|
3 |
|
4 This patch has been taken from: |
|
5 http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00387.html |
3590
|
6 http://sourceforge.net/p/mingw/bugs/1809 |
2915
|
7 |
3590
|
8 diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h |
|
9 index a8e05bf..23fbb3d 100644 |
|
10 --- a/gcc/ginclude/float.h |
|
11 +++ b/gcc/ginclude/float.h |
|
12 @@ -275,3 +275,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
2915
|
13 #endif /* __STDC_WANT_DEC_FP__ */ |
|
14 |
|
15 #endif /* _FLOAT_H___ */ |
|
16 + |
|
17 +#ifdef __MINGW32__ |
3590
|
18 + /* |
|
19 + * the MinGW-supplied header, which is guarded by the |
|
20 + * _MINGW_FLOAT_H_ macro, may be found first, thus... |
|
21 + */ |
|
22 +#ifndef _MINGW_FLOAT_H_ |
|
23 + /* |
|
24 + * ...when we didn't find the MinGW-supplied header first, we |
|
25 + * want to pull it in now; include_next should achieve this |
|
26 + */ |
|
27 +# include_next <float.h> |
2915
|
28 +#endif |
3590
|
29 +#endif |
|
30 -- |
|
31 1.8.4.5 |
|
32 |