From 03f8528315fa46c95991a34f3325d7b33ae5538c Mon Sep 17 00:00:00 2001 From: Edward Rudd <urkle@outoforder.cc> Date: Sat, 02 May 2020 21:48:36 +0000 Subject: [PATCH] Update source to SDL2 2.0.12 --- source/include/SDL_opengl_glext.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/source/include/SDL_opengl_glext.h b/source/include/SDL_opengl_glext.h index cd3869f..6a402b1 100644 --- a/source/include/SDL_opengl_glext.h +++ b/source/include/SDL_opengl_glext.h @@ -40,6 +40,9 @@ #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 #endif +#ifndef NOMINMAX /* don't define min() and max(). */ +#define NOMINMAX +#endif #include <windows.h> #endif -- Gitblit v1.9.3