mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-21 22:28:37 -05: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:
parent
5415b82930
commit
e7324f7934
1
Recipe
1
Recipe
@ -193,6 +193,7 @@ RCFLAGS = $(RCFLAGS) $(VER)
|
|||||||
!end
|
!end
|
||||||
!begin cygwin vars
|
!begin cygwin vars
|
||||||
# XXX GNU-ism, but it's probably all right for a Cygwin/MinGW Makefile.
|
# XXX GNU-ism, but it's probably all right for a Cygwin/MinGW Makefile.
|
||||||
|
CFLAGS += -DSECURITY_WIN32
|
||||||
RCFLAGS += $(patsubst -D%,--define %,$(VER))
|
RCFLAGS += $(patsubst -D%,--define %,$(VER))
|
||||||
!end
|
!end
|
||||||
!begin borland vars
|
!begin borland vars
|
||||||
|
Loading…
x
Reference in New Issue
Block a user