summaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa-hpux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/pa/pa-hpux.h')
-rw-r--r--gcc/config/pa/pa-hpux.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h
index 937f8b92bdc..bd12d4fc68e 100644
--- a/gcc/config/pa/pa-hpux.h
+++ b/gcc/config/pa/pa-hpux.h
@@ -56,11 +56,11 @@ along with GCC; see the file COPYING3. If not see
builtin_define ("__hpux__"); \
builtin_define ("__unix"); \
builtin_define ("__unix__"); \
+ builtin_define ("__STDC_EXT__"); \
if (c_dialect_cxx ()) \
{ \
builtin_define ("_HPUX_SOURCE"); \
builtin_define ("_INCLUDE_LONGLONG"); \
- builtin_define ("__STDC_EXT__"); \
} \
else if (!flag_iso) \
{ \
@@ -76,8 +76,6 @@ along with GCC; see the file COPYING3. If not see
builtin_define ("_PWB"); \
builtin_define ("PWB"); \
} \
- else \
- builtin_define ("__STDC_EXT__"); \
} \
if (TARGET_SIO) \
builtin_define ("_SIO"); \