diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:42:00 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-04 13:42:00 +0000 |
commit | d4b5b5fe4f718ee5bf78ba48adfca12d75069da1 (patch) | |
tree | b7023daf3123ff37d9095bd0f19931c5bc58de56 /eval.c | |
parent | aa3c168b9f3da0cfaa8f4232dd0c438369a5bb97 (diff) | |
download | ruby-d4b5b5fe4f718ee5bf78ba48adfca12d75069da1.tar.gz ruby-d4b5b5fe4f718ee5bf78ba48adfca12d75069da1.tar.xz ruby-d4b5b5fe4f718ee5bf78ba48adfca12d75069da1.zip |
* dln.c: Ruby no longer supports MacOS 9 or before.
* eval.c: ditto.
* eval_intern.h: ditto.
* ext/extmk.rb: ditto.
* ext/tk/sample/tkextlib/treectrl/demo.rb: ditto.
* ext/tk/stubs.c: ditto.
* file.c: ditto.
* hash.c: ditto.
* include/ruby/defines.h: ditto.
* ruby.c: ditto.
* signal.c: ditto.
* vm_core.h: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -31,7 +31,7 @@ VALUE rb_eSysStackError; #if defined(__APPLE__) #define environ (*_NSGetEnviron()) -#elif !defined(_WIN32) && !defined(__MACOS__) || defined(_WIN32_WCE) +#elif !defined(_WIN32) && defined(_WIN32_WCE) extern char **environ; #endif char **rb_origenviron; @@ -54,11 +54,7 @@ ruby_init(void) return; initialized = 1; -#ifdef __MACOS__ - rb_origenviron = 0; -#else rb_origenviron = environ; -#endif Init_stack((void *)&state); Init_BareVM(); @@ -68,9 +64,7 @@ ruby_init(void) if ((state = EXEC_TAG()) == 0) { rb_call_inits(); -#ifdef __MACOS__ - _macruby_init(); -#elif defined(__VMS) +#if defined(__VMS) _vmsruby_init(); #endif |