]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hpux: Only use long long when __cplusplus >= 201103L
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 2 Apr 2025 18:50:53 +0000 (14:50 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 2 Apr 2025 18:50:53 +0000 (14:50 -0400)
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.

libstdc++-v3/config/os/hpux/os_defines.h

index 30bd4c7ba14de32f51eca5cf71bece1a3c6e1795..d3a6c5ab1426325bbe6e1a727673ace63d9bee53 100644 (file)
@@ -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"