bring back _stklen for DJGPP [ruby-core:3084]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
michal 2004-06-25 09:08:55 +00:00
parent 9aa6a033d2
commit 60d938063b
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Fri Jun 25 18:07:15 2004 Michal Rokos <michal@ruby-lang.org>
* gc.c: bring back _stklen for DJGPP [ruby-core:3084]
Fri Jun 25 15:33:01 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/iconv/extconf.rb: check stricter. [ruby-talk:104501]

5
gc.c
View File

@ -405,6 +405,11 @@ rb_data_object_alloc(klass, datap, dmark, dfree)
extern st_table *rb_class_tbl;
VALUE *rb_gc_stack_start = 0;
#ifdef DJGPP
/* set stack size (http://www.delorie.com/djgpp/v2faq/faq15_9.html) */
unsigned int _stklen = 0x180000; /* 1.5 kB */
#endif
#if defined(DJGPP) || defined(_WIN32_WCE)
static unsigned int STACK_LEVEL_MAX = 65535;
#elif defined(__human68k__)