Define SECURITY_WIN32 for Winelib/Cygwin builds as well as for VC.
[sgt/putty] / Recipe
diff --git a/Recipe b/Recipe
index 9406915..c566c7a 100644 (file)
--- a/Recipe
+++ b/Recipe
@@ -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