diff options
Diffstat (limited to 'libjava/include')
| -rw-r--r-- | libjava/include/posix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libjava/include/posix.h b/libjava/include/posix.h index 5f522a3804a..61b2a6aa3d9 100644 --- a/libjava/include/posix.h +++ b/libjava/include/posix.h @@ -56,6 +56,11 @@ details. */ #define _Jv_platform_solib_suffix ".so" #endif +#if defined(__APPLE__) && defined(__MACH__) +#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. // Needed in java/io/natFileDescriptorPosix.cc. #if !defined (O_SYNC) && defined (O_FSYNC) |

