[x265] [PATCH] Properly display 64-bit build for all 64-bit archs

Brad Smith brad at comstyle.com
Fri Nov 25 01:26:45 UTC 2022


Properly display a 64-bit build for all 64-bit archs.


diff --git a/source/common/version.cpp b/source/common/version.cpp
index 1c07d5a9d..16a546756 100644
--- a/source/common/version.cpp
+++ b/source/common/version.cpp
@@ -71,7 +71,7 @@
 #define ONOS    "[Unk-OS]"
 #endif
 
-#if X86_64 || X265_ARCH_ARM64
+#if defined(_LP64) || defined(_WIN64)
 #define BITS    "[64 bit]"
 #else
 #define BITS    "[32 bit]"


More information about the x265-devel mailing list