diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-03 01:53:08 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-09-03 01:53:08 +0000 |
commit | 6497879d24be3bf585786e14f0fa9144f5883b44 (patch) | |
tree | 4799b4b8170e2ee419f2137b90d5ee192d3973ee /gcc/config | |
parent | 4a039993e39f358563905bf8260d73195ed29246 (diff) |
* config/sol2.h (NO_IMPLICIT_EXTERN_C): Define here.
* config/sparc/sol2.h: Not here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71017 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/sol2.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index a532d3e75d9..79c54b58f00 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -76,6 +76,9 @@ Boston, MA 02111-1307, USA. */ TARGET_SUB_OS_CPP_BUILTINS(); \ } while (0) +/* The system headers under Solaris (at least 2.5.1 and up) are C++-aware. */ +#define NO_IMPLICIT_EXTERN_C + /* The sun bundled assembler doesn't accept -Yd, (and neither does gas). It's safe to pass -s always, even if -g is not used. */ #undef ASM_SPEC diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 97370dd306f..efb49c8adde 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -135,6 +135,3 @@ 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 |