diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-24 14:57:08 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-24 14:57:08 +0000 |
commit | 2bb5441808b95926697799de2ab2d2675c89084e (patch) | |
tree | 12d7ebb79bcacca1b0dcf7d812209721aa6a7e58 /hash.c | |
parent | b317a4cd28f575b60cdff0da86afef5c1bde9a06 (diff) | |
download | ruby-2bb5441808b95926697799de2ab2d2675c89084e.tar.gz |
* complex.c: use "__sun" instead of "__sun__" to detect SunOS.
* math.c: ditto.
* hash.c: ditto.
* atomic.h: ditto.
* ext/io/wait/wait.c: ditto.
[ruby-dev:44693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2196,7 +2196,7 @@ rb_env_path_tainted(void) } #if defined(_WIN32) || (defined(HAVE_SETENV) && defined(HAVE_UNSETENV)) -#elif defined __sun__ +#elif defined __sun static int in_origenv(const char *str) { @@ -2284,7 +2284,7 @@ ruby_setenv(const char *name, const char *value) rb_sys_fail("unsetenv"); #endif } -#elif defined __sun__ +#elif defined __sun size_t len; char **env_ptr, *str; if (strchr(name, '=')) { |