Fix msvc build for TEA 3.1 upgrade
authorpatthoyts <patthoyts>
Thu, 19 May 2005 23:38:23 +0000 (23:38 +0000)
committerpatthoyts <patthoyts>
Thu, 19 May 2005 23:38:23 +0000 (23:38 +0000)
win/makefile.vc

index fe16a1382da3c7915b683708a24c50de261650d3..342026932b067a2c1f2a26482671f8cee78ad229 100644 (file)
@@ -245,7 +245,9 @@ crt = -MT
 INCLUDES       = $(TCL_INCLUDES) -I"$(WINDIR)" -I"$(GENERICDIR)"
 BASE_CLFAGS    = $(cflags) $(cdebug) $(crt) $(INCLUDES)
 CON_CFLAGS     = $(cflags) $(cdebug) $(crt) -DCONSOLE
-TCL_CFLAGS     = -DUSE_TCL_STUBS -DVERSION="\"$(DOTVERSION)\"" $(BASE_CLFAGS) $(OPTDEFINES)
+TCL_CFLAGS     = -DUSE_TCL_STUBS -DPACKAGE_NAME="\"$(PROJECT)\"" \
+                 -DPACKAGE_VERSION="\"$(DOTVERSION)\"" \
+                 $(BASE_CLFAGS) $(OPTDEFINES)
 
 #---------------------------------------------------------------------
 # Link flags