summaryrefslogtreecommitdiffstats
path: root/third_party/tcmalloc/chromium/src/windows/config.h
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-21 10:55:10 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-21 10:55:10 +0000
commit5eac6029cdecb6e15a014f8185f0bac5e118418f (patch)
tree4027035c21cc7b68c448805bc580a8197d499bb8 /third_party/tcmalloc/chromium/src/windows/config.h
parent8741cfecae9a11360850b01e998cfbf9cc443f92 (diff)
downloadchromium_src-5eac6029cdecb6e15a014f8185f0bac5e118418f.zip
chromium_src-5eac6029cdecb6e15a014f8185f0bac5e118418f.tar.gz
chromium_src-5eac6029cdecb6e15a014f8185f0bac5e118418f.tar.bz2
Revert 47789 - The newer version of tcmalloc should fix the problems with running tcmalloc under Valgrind.
Review URL: http://codereview.chromium.org/1735024 TBR=willchan,antonm Review URL: http://codereview.chromium.org/2138002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47909 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/tcmalloc/chromium/src/windows/config.h')
-rw-r--r--third_party/tcmalloc/chromium/src/windows/config.h8
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