diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-26 10:08:18 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1999-01-26 10:08:18 +0000 |
commit | ceb8031b6b795b189012c38057ebf82733f4aeaf (patch) | |
tree | acd2591c3746e2795fe15ef4fa50fa07b6510726 /main.c | |
parent | 84d73314a79384e99f8b3490f97868ee81bf1146 (diff) |
990126
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -18,6 +18,10 @@ unsigned int _stklen = 0x100000; int _stacksize = 131072; #endif +#if defined(__MACOS__) && defined(__MWERKS__) +#include <console.h> +#endif + int main(argc, argv, envp) int argc; @@ -26,6 +30,9 @@ main(argc, argv, envp) #if defined(NT) NtInitialize(&argc, &argv); #endif +#if defined(__MACOS__) && defined(__MWERKS__) + argc = ccommand(&argv); +#endif ruby_init(); ruby_options(argc, argv); |