summaryrefslogtreecommitdiffstats
path: root/win/rules.vc
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2008-05-15 00:06:18 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2008-05-15 00:06:18 (GMT)
commita4067b2f9b9e15de47baf424516fdc4bedd120e1 (patch)
tree743b550c96133c2302c5429c2c054ef30187f3c6 /win/rules.vc
parent55409abda8f00f6af3def7318ec66de03beded37 (diff)
downloadtk-a4067b2f9b9e15de47baf424516fdc4bedd120e1.zip
tk-a4067b2f9b9e15de47baf424516fdc4bedd120e1.tar.gz
tk-a4067b2f9b9e15de47baf424516fdc4bedd120e1.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.vc7
1 files changed, 5 insertions, 2 deletions
diff --git a/win/rules.vc b/win/rules.vc
index 0084520..73215e8 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.21 2007/12/13 15:28:52 dgp Exp $
+# RCS: @(#) $Id: rules.vc,v 1.22 2008/05/15 00:06:19 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"]