diff options
Diffstat (limited to 'third_party/tcmalloc/chromium/src/windows/config.h')
-rw-r--r-- | third_party/tcmalloc/chromium/src/windows/config.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/third_party/tcmalloc/chromium/src/windows/config.h b/third_party/tcmalloc/chromium/src/windows/config.h index b5d9bb6..99de82c 100644 --- a/third_party/tcmalloc/chromium/src/windows/config.h +++ b/third_party/tcmalloc/chromium/src/windows/config.h @@ -261,12 +261,10 @@ // --------------------------------------------------------------------- // Extra stuff not found in config.h.in -// This must be defined before the windows.h is included. We need at -// least 0x0400 for mutex.h to have access to TryLock, and at least -// 0x0501 for patch_functions.cc to have access to GetModuleHandleEx. -// (This latter is an optimization we could take out if need be.) +// This must be defined before the windows.h is included. It's needed +// for mutex.h, to give access to the TryLock method. #ifndef _WIN32_WINNT -# define _WIN32_WINNT 0x0501 +# define _WIN32_WINNT 0x0400 #endif // We want to make sure not to ever try to #include heap-checker.h |