From 3ae519d600a64fdf5c7576bbce632e7afe9e0b24 Mon Sep 17 00:00:00 2001 From: BZLZHH Date: Sat, 19 Jul 2025 23:19:27 +0800 Subject: [PATCH] [Fix] (All): Prevent Windows.h from defining min and max macros. --- MobileGL/Includes.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MobileGL/Includes.h b/MobileGL/Includes.h index 30e74788..c2a0237e 100644 --- a/MobileGL/Includes.h +++ b/MobileGL/Includes.h @@ -16,6 +16,8 @@ #define MOBILEGL_GL_API MOBILEGL_API #define MOBILEGL_EGL_API MOBILEGL_API +#define NOMINMAX // prevent Windows.h from defining min and max macros + #include #include #include