Fix JSUOutputStream uintptr_t operator conflict on MSVC x86.

uintptr_t == u32 == unsigned int on 32-bit MSVC since u32 was changed from unsigned long to unsigned int for TARGET_PC. Guard the uintptr_t overload to x64 only where uintptr_t != u32.
This commit is contained in:
Lurs
2026-02-24 20:18:21 +01:00
parent 2b78bb3375
commit 3cfef81753
+1 -1
View File
@@ -18,7 +18,7 @@ public:
s32 write(const void*, s32);
void write(const char*);
#ifdef _MSVC_LANG
#if defined(_MSVC_LANG) && defined(_WIN64)
JSUOutputStream& operator<<(uintptr_t param_0) {
write(&param_0, sizeof(uintptr_t));
return *this;