> From: Fabrice Popineau <[email protected]> > Date: Mon, 19 Nov 2012 22:24:51 +0100 > Cc: Eli Zaretskii <[email protected]>, help-emacs-windows > <[email protected]> > > > also, in the code segment in the makefile > > > > > > !ifdef USE_CRT_DLL > > libc = msvcrt$(D).lib > > EMACS_EXTRA_C_FLAGS= -D_DLL -D_MT -DUSE_CRT_DLL=1 > > !else > > libc = libcmt$(D).lib > > EMACS_EXTRA_C_FLAGS= -D_MT > > !endif > > > > > > I think you want "!if" -- this is false if the expression is 0, true > > otherwise -- using > > !ifdef is alway true since the item USE_CRT_DLL is defined no matter > > what its value is > > > > > Good catch. You are right. > I always run > nmake USE_CRT_DLL=1 > from the console, albeit I tried to maintain compilation with libc as as > with msvcrt. > > Eli : we need a !if here.
Fixed.
