summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/src/asmjit/asmjit-scope-begin.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/asmjit/src/asmjit/asmjit-scope-begin.h')
-rw-r--r--3rdparty/asmjit/src/asmjit/asmjit-scope-begin.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/3rdparty/asmjit/src/asmjit/asmjit-scope-begin.h b/3rdparty/asmjit/src/asmjit/asmjit-scope-begin.h
new file mode 100644
index 00000000000..93397b584a6
--- /dev/null
+++ b/3rdparty/asmjit/src/asmjit/asmjit-scope-begin.h
@@ -0,0 +1,17 @@
+// This file is part of AsmJit project <https://asmjit.com>
+//
+// See asmjit.h or LICENSE.md for license and copyright information
+// SPDX-License-Identifier: Zlib
+
+#ifdef _WIN32
+ #pragma push_macro("min")
+ #pragma push_macro("max")
+
+ #ifdef min
+ #undef min
+ #endif
+
+ #ifdef max
+ #undef max
+ #endif
+#endif