diff options
-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; |