--- gcc/unwind-generic.h.orig 2013-08-29 12:33:52.000000000 -0700 +++ gcc/unwind-generic.h 2013-08-29 12:35:51.000000000 -0700 @@ -155,7 +155,9 @@ extern _Unwind_Word _Unwind_GetGR (struc extern void _Unwind_SetGR (struct _Unwind_Context *, int, _Unwind_Word); extern _Unwind_Ptr _Unwind_GetIP (struct _Unwind_Context *); +#if !defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1050 extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *); +#endif extern void _Unwind_SetIP (struct _Unwind_Context *, _Unwind_Ptr); /* @@@ Retrieve the CFA of the given context. */