aboutsummaryrefslogtreecommitdiff
path: root/sokol_fetch.h
diff options
context:
space:
mode:
authorGarett Bass <garett@recroom.com>2020-06-04 12:26:01 -0700
committerGarett Bass <garett@recroom.com>2020-06-04 12:26:01 -0700
commitcd76dfa183241b1831b81318fcd4aab5f91ead8d (patch)
tree59660081c0f9f43d1fecf4f9d0c52c641d7e9a35 /sokol_fetch.h
parentd3c41e669de9bc35eadd946c36e87662b022108a (diff)
added more #define NOMINMAX, removed redundant #include <windows.h>
Diffstat (limited to 'sokol_fetch.h')
-rw-r--r--sokol_fetch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sokol_fetch.h b/sokol_fetch.h
index 68ca33ed..c416a102 100644
--- a/sokol_fetch.h
+++ b/sokol_fetch.h
@@ -1002,6 +1002,9 @@ inline void sfetch_setup(const sfetch_desc_t& desc) { return sfetch_setup(&desc)
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
+ #ifndef NOMINMAX
+ #define NOMINMAX
+ #endif
#include <windows.h>
#define _SFETCH_PLATFORM_WINDOWS (1)
#define _SFETCH_PLATFORM_EMSCRIPTEN (0)