aboutsummaryrefslogtreecommitdiff
path: root/src/common/mac/macho_utilities.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/mac/macho_utilities.h')
-rw-r--r--src/common/mac/macho_utilities.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/mac/macho_utilities.h b/src/common/mac/macho_utilities.h
index 575bfc50..f74e93aa 100644
--- a/src/common/mac/macho_utilities.h
+++ b/src/common/mac/macho_utilities.h
@@ -54,6 +54,11 @@
# define LC_UUID 0x1b /* the uuid */
#endif
+#if TARGET_CPU_X86
+# define BREAKPAD_MACHINE_THREAD_STATE i386_THREAD_STATE
+#else
+# define BREAKPAD_MACHINE_THREAD_STATE MACHINE_THREAD_STATE
+#endif
// The uuid_command struct/swap routines were added during the 10.4 series.
// Their presence isn't guaranteed.