diff options
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -507,10 +507,7 @@ ruby_strdup(const char *str) char * ruby_getcwd(void) { -#if defined __native_client__ - char *buf = xmalloc(2); - strcpy(buf, "."); -#elif defined HAVE_GETCWD +#if defined HAVE_GETCWD # undef RUBY_UNTYPED_DATA_WARNING # define RUBY_UNTYPED_DATA_WARNING 0 # if defined NO_GETCWD_MALLOC |