summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/ruby.c b/ruby.c
index 19c38966df..f549e72fd0 100644
--- a/ruby.c
+++ b/ruby.c
@@ -549,12 +549,8 @@ static VALUE
runtime_libruby_path(void)
{
#if defined _WIN32 || defined __CYGWIN__
- DWORD len, ret;
-#if USE_RVARGC
- len = 32;
-#else
- len = RSTRING_EMBED_LEN_MAX;
-#endif
+ DWORD ret;
+ DWORD len = 32;
VALUE path;
VALUE wsopath = rb_str_new(0, len*sizeof(WCHAR));
WCHAR *wlibpath;