diff options
author | Wayne Meissner <wmeissner@gmail.com> | 2012-11-01 07:02:21 +1100 |
---|---|---|
committer | Wayne Meissner <wmeissner@gmail.com> | 2012-11-01 07:02:21 +1100 |
commit | 98c3c7ee197d5ccb45161fe6f767b2c1b5b48045 (patch) | |
tree | d990626b0801b51e74090837f55634146571cc0c | |
parent | f9299562e414bc02908ea4d8bfba8aadfe421018 (diff) | |
download | ffi-98c3c7ee197d5ccb45161fe6f767b2c1b5b48045.tar.gz |
Disable custom trampoline for solaris
-rw-r--r-- | ext/ffi_c/MethodHandle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi_c/MethodHandle.c b/ext/ffi_c/MethodHandle.c index 2bf67a9..ba4293b 100644 --- a/ext/ffi_c/MethodHandle.c +++ b/ext/ffi_c/MethodHandle.c @@ -77,7 +77,7 @@ typedef int bool; static bool prep_trampoline(void* ctx, void* code, Closure* closure, char* errmsg, size_t errmsgsize); static long trampoline_size(void); -#if defined(__x86_64__) && defined(__GNUC__) +#if defined(__x86_64__) && defined(__GNUC__) && !defined(__sun) # define CUSTOM_TRAMPOLINE 1 #endif |