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

Unified Diff: compat/mac/mach/mach.h

Issue 1001733003: compat/mac: 10.6 SDK compatibility for pre-Xcode 4.2 10.6 SDK (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compat/mac/mach/mach.h
diff --git a/compat/mac/mach/mach.h b/compat/mac/mach/mach.h
index adf38c3358d97cc479f915da1dccd14dbc11b1cf..0cf86d05f5d8567b2b8539df1c50573c8717188c 100644
--- a/compat/mac/mach/mach.h
+++ b/compat/mac/mach/mach.h
@@ -61,6 +61,23 @@
// <mach/i386/thread_status.h>
+// 10.6 SDK
+//
+// Earlier versions of this SDK didn’t have AVX definitions. They didn’t appear
+// until the version of the 10.6 SDK that shipped with Xcode 4.2, although
+// versions of this SDK appeared with Xcode releases as early as Xcode 3.2.
+// Similarly, the kernel didn’t handle AVX state until Mac OS X 10.6.8
+// (xnu-1504.15.3) and presumably the hardware-specific versions of Mac OS X
+// 10.6.7 intended to run on processors with AVX.
+
+#ifndef x86_AVX_STATE32
+#define x86_AVX_STATE32 16
+#endif
+
+#ifndef x86_AVX_STATE64
+#define x86_AVX_STATE64 17
+#endif
+
// 10.8 SDK
#ifndef x86_AVX_STATE
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698