only use _darwin10_Unwind_FindEnclosingFunction on darwin >= 10
gcc: * unwind-dw2-fde-darwin.c (_darwin10_Unwind_FindEnclosingFunction): Dunmmy function with NULL return unless the target is OSX >= 10.6 (Darwin10). libjava: * include/posix.h: Make substitution of _darwin10_Unwind_FindEnclosingFunction conditional on OSX >= 10.6 (Darwin10). From-SVN: r163309
This commit is contained in:
@@ -56,9 +56,9 @@ details. */
|
||||
#define _Jv_platform_solib_suffix ".so"
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#undef _Unwind_FindEnclosingFunction
|
||||
#define _Unwind_FindEnclosingFunction(PC) _darwin10_Unwind_FindEnclosingFunction(PC)
|
||||
#if __MACH__ && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1060)
|
||||
# undef _Unwind_FindEnclosingFunction
|
||||
# define _Unwind_FindEnclosingFunction(PC) _darwin10_Unwind_FindEnclosingFunction(PC)
|
||||
#endif
|
||||
|
||||
// Some POSIX systems don't have O_SYNC and O_DYSNC so we define them here.
|
||||
|
||||
Reference in New Issue
Block a user