From 0e668e07832033410dc72e6940bc53175a12a5f1 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek" Date: Tue, 8 May 2007 19:04:14 +0000 Subject: 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 --- src/common/mac/macho_utilities.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common/mac') 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. -- cgit v1.2.1