linux.h (NO_IMPLICIT_EXTERN_C, [...]): Define.
authorKaz Kojima <kkojima@gcc.gnu.org>
Wed, 18 Dec 2002 02:26:03 +0000 (02:26 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Wed, 18 Dec 2002 02:26:03 +0000 (02:26 +0000)
* config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
Define.

From-SVN: r60231

gcc/ChangeLog
gcc/config/sh/linux.h

index 1a923a0631befe0b3fbe40840e66da67e7cbf674..6014d213dce54a7aec0fe0d3fcc256f56f49a48d 100644 (file)
@@ -1,3 +1,8 @@
+2002-12-18  Kaz kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/linux.h (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC):
+       Define.
+
 2002-12-17  Jason Merrill  <jason@redhat.com>
 
        * genmultilib: Use 'cd ./foo'.
index c4f6171a5d0226b9817e500103a45f3f51723295..186bc9a0af3d47f3f3f74ca82271278c5a00b732 100644 (file)
@@ -30,6 +30,13 @@ Boston, MA 02111-1307, USA.  */
 /* This was defined in linux.h.  Define it here also. */
 #define HANDLE_PRAGMA_PACK_PUSH_POP
 
+/* Don't assume anything about the header files.  */
+#define NO_IMPLICIT_EXTERN_C
+
+/* The GNU C++ standard library requires that these macros be defined.  */
+#undef CPLUSPLUS_CPP_SPEC
+#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
+
 /* Enable DWARF 2 exceptions.  */
 #undef DWARF2_UNWIND_INFO
 #define DWARF2_UNWIND_INFO 1