diff --git a/dln.c b/dln.c index 51545fbbb2..0f918af090 100644 --- a/dln.c +++ b/dln.c @@ -1331,7 +1331,9 @@ dln_load(const char *file) void *ex = dlsym(handle, EXTERNAL_PREFIX"ruby_xmalloc"); if (ex && ex != ruby_xmalloc) { -# if defined __APPLE__ +# if defined __APPLE__ && \ + defined(MAC_OS_X_VERSION_MIN_REQUIRED) && \ + (MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_11) /* dlclose() segfaults */ rb_fatal("%s - %s", incompatible, file); # else diff --git a/version.h b/version.h index c1b5713297..0fe41cfceb 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.3.3" #define RUBY_RELEASE_DATE "2017-01-17" -#define RUBY_PATCHLEVEL 228 +#define RUBY_PATCHLEVEL 229 #define RUBY_RELEASE_YEAR 2017 #define RUBY_RELEASE_MONTH 1