diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-07 08:50:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-07 08:50:39 +0000 |
commit | b22b725c5db2c67b7732fffd21640c48aaa43925 (patch) | |
tree | 87670af5537b8aff88943490cde27bd2545f962c /hash.c | |
parent | c0f48f23858dce0c3326d6cb667bd8004cf5e254 (diff) | |
download | ruby-b22b725c5db2c67b7732fffd21640c48aaa43925.tar.gz |
util.h: POSIX-noncompliant setenv
* include/ruby/util.h (setenv): remove POSIX-noncompliant
definition with 2 arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -3350,8 +3350,6 @@ ruby_setenv(const char *name, const char *value) invalid_envname(name); } #elif defined(HAVE_SETENV) && defined(HAVE_UNSETENV) -#undef setenv -#undef unsetenv if (value) { if (setenv(name, value, 1)) rb_sys_fail_str(rb_sprintf("setenv(%s)", name)); |