]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
hpux: Remove _GLIBCXX_USE_LONG_LONG define from hpux os_defines.h
authorJohn David Anglin <danglin@gcc.gnu.org>
Thu, 10 Apr 2025 13:59:01 +0000 (09:59 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Thu, 10 Apr 2025 13:59:01 +0000 (09:59 -0400)
_GLIBCXX_USE_LONG_LONG is now defined by configure.

2025-04-05  John David Anglin  <danglin@gcc.gnu.org>

libstdc++-v3/ChangeLog:
* config/os/hpux/os_defines.h: Remove _GLIBCXX_USE_LONG_LONG
define.

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

index d3a6c5ab1426325bbe6e1a727673ace63d9bee53..acc1a022bdec647ca76b91d1724b212878e84ea0 100644 (file)
 
    Also note that the compiler defines _INCLUDE_LONGLONG for C++
    unconditionally, which makes intmax_t and uintmax_t long long
-   types.
-
-   We also force _GLIBCXX_USE_LONG_LONG here so that we don't have
-   to bastardize configure to deal with this sillyness.  */
+   types.  */
 
 #if __cplusplus >= 201103L
 namespace std
@@ -77,8 +74,6 @@ namespace std
 } // namespace std
 #endif // __cplusplus
 
-#define _GLIBCXX_USE_LONG_LONG 1
-
 // HPUX on IA64 requires vtable to be 64 bit aligned even at 32 bit
 // mode.  We need to pad the vtable structure to achieve this.
 #if !defined(_LP64) && defined (__ia64__)