annotate src/native-gcc-1-float.patch @ 3590:6751799320ce

native-gcc: update to 4.9.0 * src/native-gcc.mk: update version to 3.9.0, use --with-xxx options for cloog, gmp, isl,mpc,mpfr. * src/native-gcc-1-float.patch: update from mxe.cc devel. * src/native-gcc-2-intrinsics.patch: new file from mxe.cc devel. * dist-files.mk: add native-gcc-2-intrinsics.patch.
author John Donoghue
date Fri, 25 Apr 2014 08:58:50 -0400
parents 74304e21f1ab
children 992be3109433
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2915
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 This file is part of MXE.
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 See index.html for further information.
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 This patch has been taken from:
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
5 http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00387.html
3590
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
6 http://sourceforge.net/p/mingw/bugs/1809
2915
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7
3590
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
8 diff --git a/gcc/ginclude/float.h b/gcc/ginclude/float.h
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
9 index a8e05bf..23fbb3d 100644
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
10 --- a/gcc/ginclude/float.h
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
11 +++ b/gcc/ginclude/float.h
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
12 @@ -275,3 +275,17 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
2915
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13 #endif /* __STDC_WANT_DEC_FP__ */
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 #endif /* _FLOAT_H___ */
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 +
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 +#ifdef __MINGW32__
3590
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
18 + /*
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
19 + * the MinGW-supplied header, which is guarded by the
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
20 + * _MINGW_FLOAT_H_ macro, may be found first, thus...
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
21 + */
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
22 +#ifndef _MINGW_FLOAT_H_
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
23 + /*
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
24 + * ...when we didn't find the MinGW-supplied header first, we
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
25 + * want to pull it in now; include_next should achieve this
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
26 + */
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
27 +# include_next <float.h>
2915
74304e21f1ab native gcc and binutils
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 +#endif
3590
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
29 +#endif
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
30 --
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
31 1.8.4.5
6751799320ce native-gcc: update to 4.9.0
John Donoghue
parents: 2915
diff changeset
32