From d75a126c6a9e6277949e04103bdd3fa03bed328f Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Thu, 8 Aug 2024 23:15:56 +1200 Subject: [PATCH] Fix build error with Visual C++ 2003 Toolkit --- kermit/k95/ckoker.mak | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kermit/k95/ckoker.mak b/kermit/k95/ckoker.mak index 79b5f265..8804c385 100644 --- a/kermit/k95/ckoker.mak +++ b/kermit/k95/ckoker.mak @@ -45,7 +45,7 @@ LWP30INC = $(LWP30DIR)\inc20 # Base flags for all versions of Visual C++ (and OpenWatcom # pretending to be Visual C++) -!if "$(DEBUG)" == "-DNDEBUG" +#!if "$(DEBUG)" == "-DNDEBUG" # Doing a release build !if "$(CKB_STATIC_CRT)"=="yes" !message Building with statically linked native CRT as requested. @@ -54,15 +54,15 @@ COMMON_CFLAGS = /MT COMMON_CFLAGS = /MD !endif -!else +#!else # Doing a Debug build, use the Debug CRT -!if "$(CKB_STATIC_CRT)"=="yes" -!message Building with statically linked native CRT as requested. -COMMON_CFLAGS = /MTd -!else -COMMON_CFLAGS = /MDd -!endif -!endif +#!if "$(CKB_STATIC_CRT)"=="yes" +#!message Building with statically linked native CRT as requested. +#COMMON_CFLAGS = /MTd +#!else +#COMMON_CFLAGS = /MDd +#!endif +#!endif # These options are used for all Windows .exe targets COMMON_OPTS = /Ox