From 3a671cded3a17b3ca7ccca22db633188808dcd69 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 5 Feb 2018 20:49:46 -0500 Subject: [PATCH] Thomas Dickey says this is needed to build 64-bit with Visual Studio Express 2012. With 2017, it suppresses a warning. --- wincon/Makefile.vc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wincon/Makefile.vc b/wincon/Makefile.vc index dedb4023..1f2811a0 100644 --- a/wincon/Makefile.vc +++ b/wincon/Makefile.vc @@ -38,7 +38,7 @@ WIDEOPT = -DPDC_WIDE UTF8OPT = -DPDC_FORCE_UTF8 !endif -SHL_LD = link $(LDFLAGS) /NOLOGO /DLL /OUT:pdcurses.dll +SHL_LD = link $(LDFLAGS) /NOLOGO /DLL /MACHINE:$(PLATFORM) /OUT:pdcurses.dll LINK = link.exe -nologo @@ -90,7 +90,7 @@ $(CURSESDLL) : $(LIBOBJS) $(PDCOBJS) pdcurses.obj pdcurses.res pdcurses.obj: $(osdir)\pdcurses.rc $(osdir)\pdcurses.ico rc /r /fopdcurses.res $(osdir)\pdcurses.rc - cvtres /NOLOGO /OUT:pdcurses.obj pdcurses.res + cvtres /MACHINE:$(PLATFORM) /NOLOGO /OUT:pdcurses.obj pdcurses.res {$(srcdir)\}.c{}.obj:: $(BUILD) $<