aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa/pa-hpux11.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/pa/pa-hpux11.h')
-rw-r--r--gcc/config/pa/pa-hpux11.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h
index 8dd01d2563d..06b709c2350 100644
--- a/gcc/config/pa/pa-hpux11.h
+++ b/gcc/config/pa/pa-hpux11.h
@@ -37,11 +37,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__"); \
builtin_define ("__STDCPP__"); \
} \
else \
@@ -59,8 +59,6 @@ along with GCC; see the file COPYING3. If not see
builtin_define ("_PWB"); \
builtin_define ("PWB"); \
} \
- else \
- builtin_define ("__STDC_EXT__"); \
} \
} \
if (!TARGET_64BIT) \