diff --git a/lib/gl_format.h b/lib/gl_format.h index f86c1f8663..3986bc430c 100644 --- a/lib/gl_format.h +++ b/lib/gl_format.h @@ -92,7 +92,9 @@ MODIFICATIONS for use in libktx #include "vkformat_enum.h" #if defined(_WIN32) && !defined(__MINGW32__) +#if !defined(NOMINMAX) #define NOMINMAX +#endif // !defined(NOMINMAX) #ifndef __cplusplus #undef inline #define inline __inline