aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/stdafx.h
diff options
context:
space:
mode:
authorVivyaCC <21315274+enginelesscc@users.noreply.github.com>2026-03-06 23:13:30 +0100
committervoid_17 <heroerror3@gmail.com>2026-03-07 23:58:21 +0700
commit6dfdd9032892f933a2cd23470ccd03149d114811 (patch)
tree21db394ccd0a003c1dbc255072a4d3c869990bb3 /Minecraft.World/stdafx.h
parent7c2869c5b9825ea87b4e2a65c6337f09e84b3cdb (diff)
win cpp23 compat: Minecraft.World
Diffstat (limited to 'Minecraft.World/stdafx.h')
-rw-r--r--Minecraft.World/stdafx.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Minecraft.World/stdafx.h b/Minecraft.World/stdafx.h
index 2e170ad2..37ec371f 100644
--- a/Minecraft.World/stdafx.h
+++ b/Minecraft.World/stdafx.h
@@ -4,9 +4,8 @@
//
#pragma once
-#include <cstdint>
-
#ifdef _WINDOWS64
+#define _HAS_STD_BYTE 0 // solve (std::)'byte' ambiguity with windows headers
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>
@@ -16,6 +15,8 @@
#include <d3d11.h>
#endif
+#include <cstdint>
+
#ifdef _DURANGO
#include <xdk.h>
#include <wrl.h>