aboutsummaryrefslogtreecommitdiffstats
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ruby.c b/ruby.c
index 5b92d498e6..5c17f409c8 100644
--- a/ruby.c
+++ b/ruby.c
@@ -432,8 +432,6 @@ ruby_init_loadpath_safe(int safe_level)
sopath = rb_str_new(0, MAXPATHLEN);
libpath = RSTRING_PTR(sopath);
GetModuleFileName(libruby, libpath, MAXPATHLEN);
-#elif defined(__EMX__)
- _execname(libpath, sizeof(libpath) - 1);
#elif defined(HAVE_DLADDR)
sopath = dladdr_path((void *)(VALUE)expand_include_path);
libpath = RSTRING_PTR(sopath);