summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sol2.h
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2003-09-02 17:45:19 -0400
committerJason Merrill <jason@gcc.gnu.org>2003-09-02 17:45:19 -0400
commit5220823f534e9aa003b9fdccba45628d1db0ba08 (patch)
treec29c143aaa4abc78988af242d5c3b89c3f7d697c /gcc/config/sparc/sol2.h
parent3281be05bc239a26f314aca14e11ad139331ba8e (diff)
downloadgcc-5220823f534e9aa003b9fdccba45628d1db0ba08.tar.gz
re PR target/7327 (-isystem and template linkage)
PR c++/7327 * config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define. From-SVN: r71005
Diffstat (limited to 'gcc/config/sparc/sol2.h')
-rw-r--r--gcc/config/sparc/sol2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h
index efb49c8adde..97370dd306f 100644
--- a/gcc/config/sparc/sol2.h
+++ b/gcc/config/sparc/sol2.h
@@ -135,3 +135,6 @@ Boston, MA 02111-1307, USA. */
sparc_override_options will disable V8+ if not generating V9 code. */
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_V8PLUS + MASK_FPU + MASK_LONG_DOUBLE_128)
+
+/* The system headers under Solaris (at least 2.5.1 and up) are C++-aware. */
+#define NO_IMPLICIT_EXTERN_C