diff options
Diffstat (limited to 'ext/tk/tcltklib.c')
-rw-r--r-- | ext/tk/tcltklib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index a926d3f5d0..2938536cda 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -4,7 +4,7 @@ * Oct. 24, 1997 Y. Matsumoto */ -#define TCLTKLIB_RELEASE_DATE "2009-08-04" +#define TCLTKLIB_RELEASE_DATE "2009-08-09" #include "ruby.h" @@ -10544,9 +10544,11 @@ Init_tcltklib() /* --------------------------------------------------------------- */ +#ifdef HAVE_NATIVETHREAD /* if ruby->nativethread-supprt and tcltklib->doen't, the following will cause link-error. */ ruby_native_thread_p(); +#endif /* --------------------------------------------------------------- */ |