From: John David Anglin Date: Wed, 2 Apr 2025 18:50:53 +0000 (-0400) Subject: hpux: Only use long long when __cplusplus >= 201103L X-Git-Tag: basepoints/gcc-16~396 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6d18be71d3c164dfc8a2aa0f53a15b2ec2af2182;p=thirdparty%2Fgcc.git hpux: Only use long long when __cplusplus >= 201103L 2025-04-02 John David Anglin libstdc++-v3/ChangeLog: * config/os/hpux/os_defines.h: Only use long long when __cplusplus >= 201103L. --- 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"