From 42d8740f9f7ffd03e3785f6a99f7ce57fe0cd1b5 Mon Sep 17 00:00:00 2001 From: Joe Mistachkin Date: Sun, 4 Feb 2007 00:01:52 +0000 Subject: Windows build fix --- ChangeLog | 5 +++++ win/rules.vc | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f3a0519..8708415 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-02-03 Joe Mistachkin + + * win/rules.vc: Fix platform specific file copy macros for downlevel + Windows. + 2007-01-29 Don Porter * generic/tclResult.c: Added optimization case to TclTransferResult diff --git a/win/rules.vc b/win/rules.vc index 763dc96..22208d2 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -11,7 +11,7 @@ # Copyright (c) 2003-2006 Patrick Thoyts # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.28 2007/01/11 13:17:09 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.29 2007/02/04 00:01:54 mistachkin Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -52,18 +52,20 @@ CFG_ENCODING = \"cp1252\" RMDIR = rmdir /S /Q ERRNULL = 2>NUL !if ![ver | find "4.0" > nul] -CPY = echo y | xcopy /i +CPY = echo y | xcopy /i >NUL +COPY = copy >NUL !else CPY = xcopy /i /y >NUL +COPY = copy /y >NUL !endif !else # "$(OS)" != "Windows_NT" CPY = xcopy /i >_JUNK.OUT # On Win98 NUL does not work here. +COPY = copy >_JUNK.OUT # On Win98 NUL does not work here. RMDIR = deltree /Y NULL = \NUL # Used in testing directory existence ERRNULL = >NUL # Win9x shell cannot redirect stderr !endif MKDIR = mkdir -COPY = copy /y >NUL !message =============================================================================== -- cgit v0.12