aboutsummaryrefslogtreecommitdiff
path: root/sokol_fetch.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2020-06-05 12:01:54 +0200
committerGitHub <noreply@github.com>2020-06-05 12:01:54 +0200
commit26c6fb874b6daa6193194a9ea3fc7e34bf2e4bee (patch)
tree019d5021116192c01e34fef0c4b30f559baf3518 /sokol_fetch.h
parent535318bb43d403bb390384e55e6fa42e5ad6cd47 (diff)
parentcd76dfa183241b1831b81318fcd4aab5f91ead8d (diff)
Merge pull request #312 from garettbass/master
added `#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 44aff84b..788d172e 100644
--- a/sokol_fetch.h
+++ b/sokol_fetch.h
@@ -1007,6 +1007,9 @@ inline sfetch_handle_t sfetch_send(const sfetch_request_t& request) { return sfe
#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)