aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-02 21:45:19 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-02 21:45:19 +0000
commit5b7a85f3ce3faed2afff6c518983fb0a31a2ba1e (patch)
treec29c143aaa4abc78988af242d5c3b89c3f7d697c /gcc/config
parent0a74d712b12051ad604c390b0a329986e6865deb (diff)
PR c++/7327
* config/sparc/sol2.h (NO_IMPLICIT_EXTERN_C): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-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