diff options
Diffstat (limited to 'deps/v8/src/base/debug/stack_trace_win.cc')
-rw-r--r-- | deps/v8/src/base/debug/stack_trace_win.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deps/v8/src/base/debug/stack_trace_win.cc b/deps/v8/src/base/debug/stack_trace_win.cc index 6b22131233..3fe66d97ad 100644 --- a/deps/v8/src/base/debug/stack_trace_win.cc +++ b/deps/v8/src/base/debug/stack_trace_win.cc @@ -7,6 +7,13 @@ #include "src/base/debug/stack_trace.h" +// This file can't use "src/base/win32-headers.h" because it defines symbols +// that lead to compilation errors. But `NOMINMAX` should be defined to disable +// defining of the `min` and `max` MACROS. +#ifndef NOMINMAX +#define NOMINMAX +#endif + #include <windows.h> #include <dbghelp.h> #include <Shlwapi.h> |