diff options
author | davygrvy <davygrvy@noemail.net> | 2002-09-29 20:41:15 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@noemail.net> | 2002-09-29 20:41:15 (GMT) |
commit | fb6a3b015ed1f452ba9daf43fd90d3b51a5e695e (patch) | |
tree | 4659cf78729c99923af6525570411b06f75cd614 /win/makefile.vc | |
parent | 9f0e83c75ad8e889c6bc28958bb96c522bd1bddd (diff) | |
download | tcl-fb6a3b015ed1f452ba9daf43fd90d3b51a5e695e.zip tcl-fb6a3b015ed1f452ba9daf43fd90d3b51a5e695e.tar.gz tcl-fb6a3b015ed1f452ba9daf43fd90d3b51a5e695e.tar.bz2 |
Added missing tclThreadAlloc.c to the build rules and defines USE_THREAD_ALLOC
when TCL_THREADS is defined.
FossilOrigin-Name: 228411980edf6d4388b2e3873b44182fc79e5186
Diffstat (limited to 'win/makefile.vc')
-rw-r--r-- | win/makefile.vc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/win/makefile.vc b/win/makefile.vc index 488024b..6e723d1 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -12,7 +12,7 @@ # Copyright (c) 2001-2002 David Gravereaux. # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: makefile.vc,v 1.92 2002/08/20 15:33:34 dgp Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.93 2002/09/29 20:41:16 davygrvy Exp $ #------------------------------------------------------------------------------ !if "$(MSVCDIR)" == "" @@ -217,9 +217,9 @@ TCLTESTOBJS = \ TCLOBJS = \ $(TMP_DIR)\regcomp.obj \ + $(TMP_DIR)\regerror.obj \ $(TMP_DIR)\regexec.obj \ $(TMP_DIR)\regfree.obj \ - $(TMP_DIR)\regerror.obj \ $(TMP_DIR)\strftime.obj \ $(TMP_DIR)\strtoll.obj \ $(TMP_DIR)\strtoull.obj \ @@ -253,8 +253,8 @@ TCLOBJS = \ $(TMP_DIR)\tclIOSock.obj \ $(TMP_DIR)\tclIOUtil.obj \ $(TMP_DIR)\tclLink.obj \ - $(TMP_DIR)\tclLiteral.obj \ $(TMP_DIR)\tclListObj.obj \ + $(TMP_DIR)\tclLiteral.obj \ $(TMP_DIR)\tclLoad.obj \ $(TMP_DIR)\tclMain.obj \ $(TMP_DIR)\tclNamesp.obj \ @@ -276,6 +276,7 @@ TCLOBJS = \ $(TMP_DIR)\tclStubInit.obj \ $(TMP_DIR)\tclStubLib.obj \ $(TMP_DIR)\tclThread.obj \ + $(TMP_DIR)\tclThreadAlloc.obj \ $(TMP_DIR)\tclThreadJoin.obj \ $(TMP_DIR)\tclTimer.obj \ $(TMP_DIR)\tclUtf.obj \ @@ -339,6 +340,11 @@ cflags = $(cflags) -QI0f cflags = $(cflags) -QIA64_Bx !endif +### Turn on the thread allocator, too. +!if $(TCL_THREADS) +cflags = $(cflags) -DUSE_THREAD_ALLOC=1 +!endif + !if $(MSVCRT) crt = -MD$(DBGX) !else |