1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-22 20:40:06 +00:00

Fixed -Wmacro-redefined warning

This commit is contained in:
Chuck Walbourn 2019-06-12 17:36:18 -07:00
parent 94420a9e74
commit c0cb83f943

View File

@ -68,9 +68,12 @@
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#endif
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#pragma warning(push)
#pragma warning(disable : 4005)
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#define NODRAWTEXT
#define NOGDI