diff options
author | davygrvy <davygrvy@pobox.com> | 2002-09-29 20:41:16 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2002-09-29 20:41:16 (GMT) |
commit | bc4157d4b4fbc01fbdbf58b6d4c1c7d76f6a655a (patch) | |
tree | 4659cf78729c99923af6525570411b06f75cd614 | |
parent | b88c3948b8dbe1eb1c7d5dc6b628476564adab26 (diff) | |
download | tcl-bc4157d4b4fbc01fbdbf58b6d4c1c7d76f6a655a.zip tcl-bc4157d4b4fbc01fbdbf58b6d4c1c7d76f6a655a.tar.gz tcl-bc4157d4b4fbc01fbdbf58b6d4c1c7d76f6a655a.tar.bz2 |
Added missing tclThreadAlloc.c to the build rules and defines USE_THREAD_ALLOC
when TCL_THREADS is defined.
-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 |