Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: src/base/win32-headers.h

Issue 1977983003: [base] Implement CPU time on Windows. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/base/win32-headers.h
diff --git a/src/base/win32-headers.h b/src/base/win32-headers.h
index 20ec8e0261b136544c85d9faf03635fdd2956b4c..48c07f74e5cf297967d03512ca64071fd3ee3370 100644
--- a/src/base/win32-headers.h
+++ b/src/base/win32-headers.h
@@ -27,10 +27,10 @@
#ifndef NOMCX
#define NOMCX
#endif
-// Require Windows XP or higher (this is required for the RtlCaptureContext
+// Require Windows Vista or higher (this is required for the RtlCaptureContext
fmeawad 2016/05/26 16:40:34 nit: Still needs updating, it is required to read
lpy 2016/05/26 20:50:55 Done.
// function to be present).
#ifndef _WIN32_WINNT
-#define _WIN32_WINNT 0x501
+#define _WIN32_WINNT 0x0600
#endif
#include <windows.h>
@@ -39,10 +39,10 @@
#include <signal.h> // For raise().
#include <time.h> // For LocalOffset() implementation.
#ifdef __MINGW32__
-// Require Windows XP or higher when compiling with MinGW. This is for MinGW
+// Require Windows Vista or higher when compiling with MinGW. This is for MinGW
fmeawad 2016/05/26 16:40:34 nit: I do not thing the compiling with MinGW does
lpy 2016/05/26 20:50:55 Done.
// header files to expose getaddrinfo.
#undef _WIN32_WINNT
-#define _WIN32_WINNT 0x501
+#define _WIN32_WINNT 0x0600
#endif // __MINGW32__
#if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
#include <dbghelp.h> // For SymLoadModule64 and al.

Powered by Google App Engine
This is Rietveld 408576698