aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn David Anglin <danglin@gcc.gnu.org>2025-04-02 14:50:53 -0400
committerJohn David Anglin <danglin@gcc.gnu.org>2025-04-02 14:50:53 -0400
commit6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182 (patch)
tree2f01aa928bd9ab66699bbe8c86fa46524dfd7b34
parent29ac3adb8f72ecbe734d535b1015fe8b411316cb (diff)
downloadgcc-6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182.zip
gcc-6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182.tar.gz
gcc-6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182.tar.bz2
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.
-rw-r--r--libstdc++-v3/config/os/hpux/os_defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/config/os/hpux/os_defines.h b/libstdc++-v3/config/os/hpux/os_defines.h
index 30bd4c7..d3a6c5a 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"