From: Hidetoshi NAGAI Date: 2004-08-19T16:23:02+09:00 Subject: [ruby-dev:24128] Re: to compile tcltklib (bcc32) 永井@知能.九工大です. From: H.Yamamoto Subject: [ruby-dev:24113] Re: to compile tcltklib (bcc32) Date: Wed, 18 Aug 2004 17:32:44 +0900 Message-ID: <20040818173242.622CCDB0.ocean@m2.ccsnet.ne.jp> > bcc32かどうかは #ifdef __BORLANDC__ で判定できます。 でしたら,この部分はこんな感じですかね? ------------------------------------------------------- #if TCL_MAJOR_VERSION < 8 || (TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 4) # if !defined __MINGW32__ && !defined __BORLANDC__ /* * The following variable is a special hack that is needed in order for * Sun shared libraries to be used for Tcl. */ extern int matherr(); int *tclDummyMathPtr = (int *) matherr; # endif #endif ------------------------------------------------------- -- 永井 秀利 (九工大 知能情報) nagai@ai.kyutech.ac.jp