aboutsummaryrefslogtreecommitdiff
path: root/graphics/bgfx/files/patch-bimg_3rdparty_nvtt_nvcore_debug.h
blob: b017509dac6f4d9ee6df941328fb8e4fd4524ab8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- bimg/3rdparty/nvtt/nvcore/debug.h.orig	2023-02-07 16:06:32 UTC
+++ bimg/3rdparty/nvtt/nvcore/debug.h
@@ -165,7 +165,7 @@ namespace nv
 namespace nv
 {
     inline bool isValidPtr(const void * ptr) {
-    #if NV_CPU_X86_64 || NV_CPU_AARCH64
+    #if defined(__LP64__)
         if (ptr == NULL) return true;
         if (reinterpret_cast<uint64>(ptr) < 0x10000ULL) return false;
         if (reinterpret_cast<uint64>(ptr) >= 0x000007FFFFFEFFFFULL) return false;