diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-23 05:56:25 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-23 05:56:25 +0000 |
commit | 0e2d2e6a794d3e9e6a55be37b9b640c902bc501b (patch) | |
tree | aa6148c34b5fcc74078e7bf822bbbd1bb2c0a41b /util.c | |
parent | 08524bc59477176b270a0249784af4e37ab3fed9 (diff) |
Drop to support NaCl platform.
Because NaCl and PNaCl are already sunset status.
see https://bugs.chromium.org/p/chromium/issues/detail?id=239656#c160
configure.ac: Patch for this file was provided by @nobu.
[Feature #14041][ruby-core:83497][fix GH-1726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 |