diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-17 13:47:44 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-17 13:47:44 +0000 |
commit | 8dcc3d95aef6d2564a35f9808f565df813e62dde (patch) | |
tree | bf2237bdb3e58e0058fd6aab9cbad11f924dc3b0 /gcc/config/sol2.h | |
parent | 52903bc1efbd153f4e5a34228f8944affcd6499c (diff) | |
download | gcc-8dcc3d95aef6d2564a35f9808f565df813e62dde.tar.gz |
* config/sol2.h: Add TARGET_SUB_OS_CPP_BUILTINS.
* config/sparc/liteelf.h, config/sparc/openbsd64.h,
config/sparc/rtemself.h, config/sparc/sol2-64.h,
config/sparc/sp64-elf.h, config/sparc/sp86x-elf.h:
Update for use of TARGET_SUB_OS_CPP_BUILTINS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r-- | gcc/config/sol2.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index c5980fbe168..8dfe8e73a67 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -53,6 +53,7 @@ Boston, MA 02111-1307, USA. */ " /* Names to predefine in the preprocessor for this target machine. */ +#define TARGET_SUB_OS_CPP_BUILTINS() #define TARGET_OS_CPP_BUILTINS() \ do { \ builtin_define_std ("unix"); \ @@ -62,7 +63,7 @@ Boston, MA 02111-1307, USA. */ builtin_define ("__PRAGMA_REDEFINE_EXTNAME"); \ builtin_assert ("system=unix"); \ builtin_assert ("system=svr4"); \ - /* For C++ we need to add some additional macro \ + /* For C++ we need to add some additional macro \ definitions required by the C++ standard \ library. */ \ if (c_language == clk_cplusplus) \ @@ -72,6 +73,7 @@ Boston, MA 02111-1307, USA. */ builtin_define ("_LARGEFILE64_SOURCE=1"); \ builtin_define ("__EXTENSIONS__"); \ } \ + TARGET_SUB_OS_CPP_BUILTINS(); \ } while (0) /* The sun bundled assembler doesn't accept -Yd, (and neither does gas). |