summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thirdparty/directxtex/DirectXTex/DirectXTexP.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thirdparty/directxtex/DirectXTex/DirectXTexP.h b/thirdparty/directxtex/DirectXTex/DirectXTexP.h
index b5302546..88c9d55f 100644
--- a/thirdparty/directxtex/DirectXTex/DirectXTexP.h
+++ b/thirdparty/directxtex/DirectXTex/DirectXTexP.h
@@ -17,7 +17,9 @@
#pragma once
#endif
+#ifndef NOMINMAX
#define NOMINMAX
+#endif
#include <windows.h>
#ifdef USE_XNAMATH