1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

Define SECURITY_WIN32 for Winelib/Cygwin builds as well as for VC.

This should perhaps go into winmisc.c: it's caused problems for
other people too:

<http://stackoverflow.com/questions/8530159/vs2010-build-error-at-putty-source>

[originally from svn r9662]
This commit is contained in:
Ben Harris 2012-09-13 22:33:27 +00:00
parent 5415b82930
commit e7324f7934

1
Recipe
View File

@ -193,6 +193,7 @@ RCFLAGS = $(RCFLAGS) $(VER)
!end
!begin cygwin vars
# XXX GNU-ism, but it's probably all right for a Cygwin/MinGW Makefile.
CFLAGS += -DSECURITY_WIN32
RCFLAGS += $(patsubst -D%,--define %,$(VER))
!end
!begin borland vars