From 074fbf121f6230ebbf444c53c547618864b4d6aa Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Thu, 8 Dec 2022 00:21:07 +0400 Subject: [PATCH] Do actual check for long type size for Glib::Variant<(u)int64> --- base/platform/linux/base_linux_glibmm_helper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/platform/linux/base_linux_glibmm_helper.h b/base/platform/linux/base_linux_glibmm_helper.h index 8e0fad9..61997f9 100644 --- a/base/platform/linux/base_linux_glibmm_helper.h +++ b/base/platform/linux/base_linux_glibmm_helper.h @@ -10,7 +10,7 @@ #include -#ifdef _LP64 +#if LONG_TYPE_SIZE == 64 namespace Glib { template <> @@ -102,7 +102,7 @@ class Variant : public VariantBase { }; } // namespace Glib -#endif // 64bit +#endif // LONG_TYPE_SIZE == 64 namespace base { namespace Platform {