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

Unified Diff: third_party/crashpad/crashpad/compat/win/winnt.h

Issue 2555353002: Update Crashpad to 32981a3ee9d7c2769fb27afa038fe2e194cfa329 (Closed)
Patch Set: fix readme Created 4 years 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: third_party/crashpad/crashpad/compat/win/winnt.h
diff --git a/third_party/crashpad/crashpad/compat/win/winnt.h b/third_party/crashpad/crashpad/compat/win/winnt.h
index 2c5ac662108dde44a343c639eb46a32d546baad7..6a5e0164969e0980732222975d4c8592cba0a39c 100644
--- a/third_party/crashpad/crashpad/compat/win/winnt.h
+++ b/third_party/crashpad/crashpad/compat/win/winnt.h
@@ -15,6 +15,9 @@
#ifndef CRASHPAD_COMPAT_WIN_WINNT_H_
#define CRASHPAD_COMPAT_WIN_WINNT_H_
+// include_next <winnt.h>
+#include <../um/winnt.h>
+
// https://msdn.microsoft.com/en-us/library/windows/desktop/aa373184.aspx:
// "Note that this structure definition was accidentally omitted from WinNT.h."
struct PROCESSOR_POWER_INFORMATION {
@@ -26,7 +29,32 @@ struct PROCESSOR_POWER_INFORMATION {
ULONG CurrentIdleState;
};
-// include_next <winnt.h>
-#include <../um/winnt.h>
+// 10.0.10240.0 SDK
+
+#ifndef PROCESSOR_ARCHITECTURE_ARM64
+#define PROCESSOR_ARCHITECTURE_ARM64 12
+#endif
+
+#ifndef PF_ARM_V8_INSTRUCTIONS_AVAILABLE
+#define PF_ARM_V8_INSTRUCTIONS_AVAILABLE 29
+#endif
+
+#ifndef PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE
+#define PF_ARM_V8_CRYPTO_INSTRUCTIONS_AVAILABLE 30
+#endif
+
+#ifndef PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE
+#define PF_ARM_V8_CRC32_INSTRUCTIONS_AVAILABLE 31
+#endif
+
+#ifndef PF_RDTSCP_INSTRUCTION_AVAILABLE
+#define PF_RDTSCP_INSTRUCTION_AVAILABLE 32
+#endif
+
+// 10.0.14393.0 SDK
+
+#ifndef PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64
+#define PROCESSOR_ARCHITECTURE_ARM32_ON_WIN64 13
+#endif
#endif // CRASHPAD_COMPAT_WIN_WINNT_H_
« no previous file with comments | « third_party/crashpad/crashpad/compat/non_win/winnt.h ('k') | third_party/crashpad/crashpad/doc/appengine/README » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698