diff options
| -rw-r--r-- | gcc/ChangeLog | 6 | ||||
| -rw-r--r-- | gcc/config/pa/pa-hpux11.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 36b5abb..6a57df0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + PR libfortran/63471 + * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT + when _HPUX_SOURCE is defined. + 2014-10-13 Jan Hubicka <hubicka@ucw.cz> PR tree-optimization/62127 diff --git a/gcc/config/pa/pa-hpux11.h b/gcc/config/pa/pa-hpux11.h index 07f0dec..8885cd0 100644 --- a/gcc/config/pa/pa-hpux11.h +++ b/gcc/config/pa/pa-hpux11.h @@ -40,6 +40,7 @@ along with GCC; see the file COPYING3. If not see if (c_dialect_cxx ()) \ { \ builtin_define ("_HPUX_SOURCE"); \ + builtin_define ("_REENTRANT"); \ builtin_define ("_INCLUDE_LONGLONG"); \ builtin_define ("__STDCPP__"); \ } \ @@ -48,6 +49,7 @@ along with GCC; see the file COPYING3. If not see if (!flag_iso) \ { \ builtin_define ("_HPUX_SOURCE"); \ + builtin_define ("_REENTRANT"); \ if (preprocessing_trad_p ()) \ { \ builtin_define ("hp9000s800"); \ |
