mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval.c: come back definition of environ.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
146ea3c398
commit
5e1311da38
2 changed files with 6 additions and 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.
|
||||
|
|
2
eval.c
2
eval.c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue