diff options
| author | Andre Weissflog <floooh@gmail.com> | 2020-06-05 12:01:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-05 12:01:54 +0200 |
| commit | 26c6fb874b6daa6193194a9ea3fc7e34bf2e4bee (patch) | |
| tree | 019d5021116192c01e34fef0c4b30f559baf3518 /sokol_fetch.h | |
| parent | 535318bb43d403bb390384e55e6fa42e5ad6cd47 (diff) | |
| parent | cd76dfa183241b1831b81318fcd4aab5f91ead8d (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.h | 3 |
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) |