diff options
author | michal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-23 12:59:01 +0000 |
---|---|---|
committer | michal <michal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-23 12:59:01 +0000 |
commit | cdf40ecbd88c9ef9f758d3bd6376668f2e4722b3 (patch) | |
tree | 5c8dd47eb8eb064bec05295a181ac0400fc1ab2a /gc.c | |
parent | 5199bf7529853c496f300502f42ae87904afdf7e (diff) | |
download | ruby-cdf40ecbd88c9ef9f758d3bd6376668f2e4722b3.tar.gz |
Fix indentation in time.c
Move stack-len info from main.c to gc.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -407,19 +407,15 @@ VALUE *rb_gc_stack_start = 0; #if defined(DJGPP) || defined(_WIN32_WCE) static unsigned int STACK_LEVEL_MAX = 65535; -#else -#ifdef __human68k__ -extern unsigned int _stacksize; +#elif defined(__human68k__) +unsigned int _stacksize = 262144; # define STACK_LEVEL_MAX (_stacksize - 4096) # undef HAVE_GETRLIMIT -#else -#ifdef HAVE_GETRLIMIT +#elif defined(HAVE_GETRLIMIT) static unsigned int STACK_LEVEL_MAX = 655300; #else # define STACK_LEVEL_MAX 655300 #endif -#endif -#endif #ifdef C_ALLOCA # define SET_STACK_END VALUE stack_end; alloca(0); |