[gcc r15-9157] hpux: Only use long long when __cplusplus >= 201103L
John David Anglin
danglin@gcc.gnu.org
Wed Apr 2 18:51:24 GMT 2025
https://gcc.gnu.org/g:6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182
commit r15-9157-g6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182
Author: John David Anglin <danglin@gcc.gnu.org>
Date: Wed Apr 2 14:50:53 2025 -0400
hpux: Only use long long when __cplusplus >= 201103L
2025-04-02 John David Anglin <danglin@gcc.gnu.org>
libstdc++-v3/ChangeLog:
* config/os/hpux/os_defines.h: Only use long long when
__cplusplus >= 201103L.
Diff:
---
libstdc++-v3/config/os/hpux/os_defines.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h
index 30bd4c7ba14d..d3a6c5ab1426 100644
--- a/libstdc++-v3/config/os/hpux/os_defines.h
+++ b/libstdc++-v3/config/os/hpux/os_defines.h
@@ -57,7 +57,7 @@
We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
to bastardize configure to deal with this sillyness. */
-#ifdef __cplusplus
+#if __cplusplus >= 201103L
namespace std
{
extern "C"
More information about the Libstdc++-cvs
mailing list