diff options
| author | gingerBill <bill@gingerbill.org> | 2019-11-27 15:18:32 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-11-27 15:18:32 +0000 |
| commit | 37e3e081c62b38bb4eff9553faadaea765f624b7 (patch) | |
| tree | 71d208a891ae1b379873e4db495de09958ffc281 /src/common.cpp | |
| parent | 5ea9fc3fb0a0ea5201fe0f1006d40f03563191ca (diff) | |
Update microsoft_craziness.h to work correctly with the rest of the codebase (and not use WIN32_LEAN_AND_MEAN)
Diffstat (limited to 'src/common.cpp')
| -rw-r--r-- | src/common.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common.cpp b/src/common.cpp index b034ad720..f47ad69eb 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -7,6 +7,13 @@ #include <intrin.h> #endif +#if defined(GB_SYSTEM_WINDOWS) +#define NOMINMAX 1 +#include <windows.h> +#undef NOMINMAX +#endif + +#define GB_WINDOWS_H_INCLUDED #define GB_IMPLEMENTATION #include "gb/gb.h" |