| | 1 | diff -Naurp gcc-5666.3.orig/config-apple-verbatim.h gcc-5666.3/config-apple-verbatim.h |
| | 2 | --- config-apple-verbatim.h 1969-12-31 16:00:00.000000000 -0800 |
| | 3 | +++ config-apple-verbatim.h 2013-09-14 07:55:08.000000000 -0700 |
| | 4 | @@ -0,0 +1,13 @@ |
| | 5 | +#ifdef __APPLE__ |
| | 6 | + |
| | 7 | +#undef SIZEOF_LONG |
| | 8 | +#if __LP64__ |
| | 9 | +#define SIZEOF_LONG 8 |
| | 10 | +#else |
| | 11 | +#define SIZEOF_LONG 4 |
| | 12 | +#endif |
| | 13 | + |
| | 14 | +#undef SIZEOF_VOID_P |
| | 15 | +#define SIZEOF_VOID_P SIZEOF_LONG |
| | 16 | + |
| | 17 | +#endif |
| | 18 | diff -Naurp gcc-5666.3.orig/gcc/config.in gcc-5666.3/gcc/config.in |
| | 19 | --- gcc/config.in 2010-10-14 13:27:54.000000000 -0700 |
| | 20 | +++ gcc/config.in 2013-09-14 07:53:45.000000000 -0700 |
| | 21 | @@ -1414,3 +1414,6 @@ |
| | 22 | #undef vfork |
| | 23 | #endif |
| | 24 | |
| | 25 | +#ifndef USED_FOR_TARGET |
| | 26 | +#include "../config-apple-verbatim.h" |
| | 27 | +#endif |
| | 28 | diff -Naurp gcc-5666.3.orig/libdecnumber/config.in gcc-5666.3/libdecnumber/config.in |
| | 29 | --- libdecnumber/config.in 2010-10-14 13:24:11.000000000 -0700 |
| | 30 | +++ libdecnumber/config.in 2013-09-14 07:53:52.000000000 -0700 |
| | 31 | @@ -74,3 +74,6 @@ |
| | 32 | |
| | 33 | /* Define to `long' if <sys/types.h> does not define. */ |
| | 34 | #undef off_t |
| | 35 | + |
| | 36 | +#include "../config-apple-verbatim.h" |
| | 37 | + |
| | 38 | diff -Naurp gcc-5666.3.orig/libgomp/config.h.in gcc-5666.3/libgomp/config.h.in |
| | 39 | --- libgomp/config.h.in 2010-10-14 13:24:11.000000000 -0700 |
| | 40 | +++ libgomp/config.h.in 2013-09-14 07:53:27.000000000 -0700 |
| | 41 | @@ -101,3 +101,5 @@ |
| | 42 | |
| | 43 | /* Version number of package */ |
| | 44 | #undef VERSION |
| | 45 | + |
| | 46 | +#include "../config-apple-verbatim.h" |