Commit e28c7606 by John David Anglin Committed by John David Anglin

re PR libfortran/63471 (unix.c:1906:10: error: implicit declaration of function 'ttyname_r')

	PR libfortran/63471
        * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT
        when _HPUX_SOURCE is defined.

From-SVN: r216152
parent aaf7bd8a
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> 2014-10-13 Jan Hubicka <hubicka@ucw.cz>
PR tree-optimization/62127 PR tree-optimization/62127
...@@ -40,6 +40,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -40,6 +40,7 @@ along with GCC; see the file COPYING3. If not see
if (c_dialect_cxx ()) \ if (c_dialect_cxx ()) \
{ \ { \
builtin_define ("_HPUX_SOURCE"); \ builtin_define ("_HPUX_SOURCE"); \
builtin_define ("_REENTRANT"); \
builtin_define ("_INCLUDE_LONGLONG"); \ builtin_define ("_INCLUDE_LONGLONG"); \
builtin_define ("__STDCPP__"); \ builtin_define ("__STDCPP__"); \
} \ } \
...@@ -48,6 +49,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -48,6 +49,7 @@ along with GCC; see the file COPYING3. If not see
if (!flag_iso) \ if (!flag_iso) \
{ \ { \
builtin_define ("_HPUX_SOURCE"); \ builtin_define ("_HPUX_SOURCE"); \
builtin_define ("_REENTRANT"); \
if (preprocessing_trad_p ()) \ if (preprocessing_trad_p ()) \
{ \ { \
builtin_define ("hp9000s800"); \ builtin_define ("hp9000s800"); \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment