diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-07-01 05:45:19 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-07-01 05:45:19 +0000 |
commit | 04df67304adf7136ed6aeaf6589755a00c3ac1a2 (patch) | |
tree | 36978de4861c618788623b11d07c2dfb332ffc7f /gcc/config/pa | |
parent | 5ee78c21f1ba4f4451dfe3721c12d5cb56c28864 (diff) | |
download | gcc-04df67304adf7136ed6aeaf6589755a00c3ac1a2.zip gcc-04df67304adf7136ed6aeaf6589755a00c3ac1a2.tar.gz gcc-04df67304adf7136ed6aeaf6589755a00c3ac1a2.tar.bz2 |
sol2.h, [...]: Use c_dialect_ macros.
* config/sol2.h, config/alpha/alpha.h, config/alpha/linux.h,
config/i386/i386-interix.h, config/ia64/hpux.h, config/mips/iris6.h,
config/mips/linux.h, config/mips/mips.h, config/pa/pa-hpux.h,
config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, config/pa/pa-pro-end.h,
config/pa/pa.h, config/pa/rtems.h: Use c_dialect_ macros.
From-SVN: r68763
Diffstat (limited to 'gcc/config/pa')
-rw-r--r-- | gcc/config/pa/pa-hpux.h | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa-hpux10.h | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa-hpux11.h | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa-pro-end.h | 3 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 3 | ||||
-rw-r--r-- | gcc/config/pa/rtems.h | 3 |
6 files changed, 6 insertions, 9 deletions
diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index d6e1516..5b99ee5 100644 --- a/gcc/config/pa/pa-hpux.h +++ b/gcc/config/pa/pa-hpux.h @@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ builtin_define ("__hpux__"); \ builtin_define ("__unix"); \ builtin_define ("__unix__"); \ - if (c_language == clk_cplusplus) \ + if (c_dialect_cxx ()) \ { \ builtin_define ("_HPUX_SOURCE"); \ builtin_define ("_INCLUDE_LONGLONG"); \ diff --git a/gcc/config/pa/pa-hpux10.h b/gcc/config/pa/pa-hpux10.h index 1c89598..78ac2af 100644 --- a/gcc/config/pa/pa-hpux10.h +++ b/gcc/config/pa/pa-hpux10.h @@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ builtin_define ("__hpux__"); \ builtin_define ("__unix"); \ builtin_define ("__unix__"); \ - if (c_language == clk_cplusplus) \ + if (c_dialect_cxx ()) \ { \ builtin_define ("_HPUX_SOURCE"); \ builtin_define ("_INCLUDE_LONGLONG"); \ diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h index a1dbf20..5a35ace 100644 --- a/gcc/config/pa/pa-hpux11.h +++ b/gcc/config/pa/pa-hpux11.h @@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */ builtin_define ("__hpux__"); \ builtin_define ("__unix"); \ builtin_define ("__unix__"); \ - if (c_language == clk_cplusplus) \ + if (c_dialect_cxx ()) \ { \ builtin_define ("_HPUX_SOURCE"); \ builtin_define ("_INCLUDE_LONGLONG"); \ diff --git a/gcc/config/pa/pa-pro-end.h b/gcc/config/pa/pa-pro-end.h index e6322e5..927f424 100644 --- a/gcc/config/pa/pa-pro-end.h +++ b/gcc/config/pa/pa-pro-end.h @@ -29,8 +29,7 @@ Boston, MA 02111-1307, USA. */ #define TARGET_OS_CPP_BUILTINS() \ do \ { \ - if (c_language != clk_cplusplus \ - && !flag_iso) \ + if (!c_dialect_cxx () && !flag_iso) \ { \ builtin_define ("hppa"); \ builtin_define_std ("PWB"); \ diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 4d71cdc..9c6a4a4 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -388,8 +388,7 @@ do { \ builtin_define_std ("hp800"); \ builtin_define_std ("hp9000"); \ builtin_define_std ("hp9k8"); \ - if (c_language != clk_cplusplus \ - && !flag_iso) \ + if (!c_dialect_cxx () && !flag_iso) \ builtin_define ("hppa"); \ builtin_define_std ("spectrum"); \ builtin_define_std ("unix"); \ diff --git a/gcc/config/pa/rtems.h b/gcc/config/pa/rtems.h index c71ac6e..14a8b2a 100644 --- a/gcc/config/pa/rtems.h +++ b/gcc/config/pa/rtems.h @@ -25,8 +25,7 @@ Boston, MA 02111-1307, USA. */ #define TARGET_OS_CPP_BUILTINS() \ do \ { \ - if (c_language != clk_cplusplus \ - && !flag_iso) \ + if (!c_dialect_cxx () && !flag_iso) \ { \ builtin_define ("hppa"); \ builtin_define_std ("PWB"); \ |