Skip to content

Commit

Permalink
Fix build error with Visual C++ 2003 Toolkit
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrg committed Aug 8, 2024
1 parent 6345a68 commit d75a126
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions kermit/k95/ckoker.mak
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit d75a126

Please sign in to comment.