diff --git a/ruby.c b/ruby.c index cf13eee20a..273fd4d1c4 100644 --- a/ruby.c +++ b/ruby.c @@ -439,7 +439,7 @@ ruby_init_loadpath(void) ruby_init_loadpath_safe(0); } -#if defined(LOAD_RELATIVE) && defined(HAVE_DLADDR) +#if defined(LOAD_RELATIVE) && defined(HAVE_DLADDR) && !defined(__CYGWIN__) static VALUE dladdr_path(const void* addr) {