diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2008-05-15 00:04:08 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2008-05-15 00:04:08 (GMT) |
commit | 5e16c3823829638c614e311586d3e0c9ca0fa32a (patch) | |
tree | b7e6b55d39a206577920ae8c031563a5ddc4e866 /win/rules.vc | |
parent | 8c6b0215a7ccebe49708b68c096c93ae84113fb6 (diff) | |
download | tcl-5e16c3823829638c614e311586d3e0c9ca0fa32a.zip tcl-5e16c3823829638c614e311586d3e0c9ca0fa32a.tar.gz tcl-5e16c3823829638c614e311586d3e0c9ca0fa32a.tar.bz2 |
We should use the thread allocator for threaded builds. Added 'tclalloc' option to disable.
Diffstat (limited to 'win/rules.vc')
-rw-r--r-- | win/rules.vc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc index 83a82b9..5b5bc71 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -11,7 +11,7 @@ # Copyright (c) 2003-2007 Patrick Thoyts # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.35 2007/12/13 15:28:43 dgp Exp $ +# RCS: @(#) $Id: rules.vc,v 1.36 2008/05/15 00:04:11 patthoyts Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -242,6 +242,7 @@ TCL_USE_STATIC_PACKAGES = 0 !if [nmakehlp -f $(OPTS) "threads"] !message *** Doing threads TCL_THREADS = 1 +USE_THREAD_ALLOC= 1 !else TCL_THREADS = 0 !endif @@ -266,7 +267,9 @@ LOIMPACT = 0 !if [nmakehlp -f $(OPTS) "thrdalloc"] !message *** Doing thrdalloc USE_THREAD_ALLOC = 1 -!else +!endif +!if [nmakehlp -f $(OPTS) "tclalloc"] +!message *** Doing thrdalloc USE_THREAD_ALLOC = 0 !endif !if [nmakehlp -f $(OPTS) "unchecked"] |