https://gcc.gnu.org/g:6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182

commit r15-9157-g6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182
Author: John David Anglin <dang...@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  <dang...@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"

Reply via email to