diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-05 02:26:45 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-05 02:26:45 +0000 |
commit | 5e1311da38bf0ce8d0ea99e8dc86a159542b5552 (patch) | |
tree | 0c6c8b6fc459bc21cc5583448a51c63f21bcaa5a | |
parent | 146ea3c398fb371cfad4c9abea47535e9e08eebc (diff) | |
download | ruby-5e1311da38bf0ce8d0ea99e8dc86a159542b5552.tar.gz |
* eval.c: come back definition of environ.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,7 @@ +Sun Oct 5 11:24:42 2008 NARUSE, Yui <naruse@ruby-lang.org> + + * eval.c: come back definition of environ. + Sun Oct 5 09:19:49 2008 NARUSE, Yui <naruse@ruby-lang.org> * ext/nkf/nkf-utf8/utf8tbl.c: update table. @@ -31,6 +31,8 @@ VALUE rb_eSysStackError; #if defined(__APPLE__) #define environ (*_NSGetEnviron()) +#elif !defined(_WIN32) && !defined(__MACOS__) || defined(_WIN32_WCE) +extern char **environ; #endif char **rb_origenviron; |