Commit 7dd7fb88 by Zack Weinberg

hpux.h: Predefine __STDCPP__ when compiling C++.

	* config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
	* config/pa/pa-hpux10.h: Likewise.
	* config/pa/pa-hpux11.h: Likewise.

From-SVN: r81202
parent 0c04dd0d
2004-04-26 Zack Weinberg <zack@codesourcery.com>
* config/ia64/hpux.h: Predefine __STDCPP__ when compiling C++.
* config/pa/pa-hpux10.h: Likewise.
* config/pa/pa-hpux11.h: Likewise.
2004-04-26 Geoffrey Keating <geoffk@apple.com>
* doc/invoke.texi (Overall Options): Document default for -o
......
......@@ -46,6 +46,7 @@ do { \
{ \
builtin_define("_HPUX_SOURCE"); \
builtin_define("__STDC_EXT__"); \
builtin_define("__STDCPP__"); \
} \
if (TARGET_ILP32) \
builtin_define("_ILP32"); \
......
......@@ -25,7 +25,8 @@ Boston, MA 02111-1307, USA. */
we define __STDC_EXT__. A similar situation exists with respect to
the definition of __cplusplus. We define _INCLUDE_LONGLONG
to prevent nlist.h from defining __STDC_32_MODE__ (no longlong
support). */
support). We define __STDCPP__ to get certain system headers
(notably assert.h) to assume standard preprocessor behavior in C++. */
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \
......@@ -43,6 +44,7 @@ Boston, MA 02111-1307, USA. */
builtin_define ("_HPUX_SOURCE"); \
builtin_define ("_INCLUDE_LONGLONG"); \
builtin_define ("__STDC_EXT__"); \
builtin_define ("__STDCPP__"); \
} \
else if (!flag_iso) \
{ \
......
......@@ -23,7 +23,8 @@ Boston, MA 02111-1307, USA. */
we define __STDC_EXT__. A similar situation exists with respect to
the definition of __cplusplus. We define _INCLUDE_LONGLONG
to prevent nlist.h from defining __STDC_32_MODE__ (no longlong
support). */
support). We define __STDCPP__ to get certain system headers
(notably assert.h) to assume standard preprocessor behavior in C++. */
#undef TARGET_OS_CPP_BUILTINS
#define TARGET_OS_CPP_BUILTINS() \
do \
......@@ -41,6 +42,7 @@ Boston, MA 02111-1307, USA. */
builtin_define ("_HPUX_SOURCE"); \
builtin_define ("_INCLUDE_LONGLONG"); \
builtin_define ("__STDC_EXT__"); \
builtin_define ("__STDCPP__"); \
} \
else \
{ \
......
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