annotate src/build-gcc-1-mingw-float.patch @ 4039:1c72016826aa

of-fl-core: update patch for --enable-64 * src/of-fl-core-1-fixes.patch: update patch
author John Donoghue
date Wed, 30 Sep 2015 14:11:45 -0400
parents 0ea89e795112
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3684
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
1 This file is part of MXE.
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
2 See index.html for further information.
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
3
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
4 This patch has been taken from:
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
5 http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00387.html
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
6 http://sourceforge.net/p/mingw/bugs/1809
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
7
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
8 diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
9 index a8e05bf..23fbb3d 100644
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
10 --- a/gcc/ginclude/float.h
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
11 +++ b/gcc/ginclude/float.h
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
12 @@ -275,3 +275,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
13 #endif /* __STDC_WANT_DEC_FP__ */
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
14
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
15 #endif /* _FLOAT_H___ */
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
16 +
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
17 +#ifdef __MINGW32__
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
18 + /*
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
19 + * the MinGW-supplied header, which is guarded by the
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
20 + * _MINGW_FLOAT_H_ macro, may be found first, thus...
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
21 + */
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
22 +#ifndef _MINGW_FLOAT_H_
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
23 + /*
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
24 + * ...when we didn't find the MinGW-supplied header first, we
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
25 + * want to pull it in now; include_next should achieve this
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
26 + */
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
27 +# include_next <float.h>
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
28 +#endif
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
29 +#endif
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
30 --
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
31 1.8.4.5
0ea89e795112 gcc: update to 4.9.1 from mxe_devel.
John Donoghue
parents:
diff changeset
32