re PR target/15834 (NO_IMPLICIT_EXTERN_C should be gotten rid of)
authorGeoffrey Keating <geoffk@apple.com>
Wed, 1 Nov 2006 04:53:33 +0000 (04:53 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 1 Nov 2006 04:53:33 +0000 (04:53 +0000)
PR 15834
* config/darwin.h (NO_IMPLICIT_EXTERN_C): Define.

From-SVN: r118358

gcc/ChangeLog
gcc/config/darwin.h

index 0b9caa3..69d697d 100644 (file)
@@ -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.
 
index 43288f7..05b3472 100644 (file)
@@ -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 ""