diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/darwin.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b9caa3..69d697d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2006-10-31 Geoffrey Keating <geoffk@apple.com> + PR 15834 + * config/darwin.h (NO_IMPLICIT_EXTERN_C): Define. + +2006-10-31 Geoffrey Keating <geoffk@apple.com> + * c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on inline static functions in c99 mode. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 43288f7..05b3472 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -40,6 +40,9 @@ Boston, MA 02110-1301, USA. */ #define OBJECT_FORMAT_MACHO +/* Don't assume anything about the header files. */ +#define NO_IMPLICIT_EXTERN_C + /* Suppress g++ attempt to link in the math library automatically. */ #define MATH_LIBRARY "" |