aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-08 19:04:14 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-08 19:04:14 +0000
commit0e668e07832033410dc72e6940bc53175a12a5f1 (patch)
tree9f04e55ebb0c92df8da85647eeb07ab3d4257ac2 /src/common
parentExtraneous newline in format string (diff)
downloadbreakpad-0e668e07832033410dc72e6940bc53175a12a5f1.tar.xz
Issue 164 - MACHINE_THREAD_STATE on older 10.4 versions. Patch by Dave Camp, r=Chris Rogers
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@162 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common')
-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.