summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 5387d032fc..8ce9cf736e 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -272,6 +272,7 @@ rubyw: $(WPROGRAM)
$(MKFILES): $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(win_srcdir)/configure.bat $(win_srcdir)/setup.mak
$(COMSPEC) /C $(win_srcdir:/=\)\configure.bat $(configure_args)
@echo $(MKFILES) should be updated, re-run $(MAKE).
+ @exit 1
CONFIG_H = ./.config.h.time
@@ -292,7 +293,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
#error MSC version unmatch: _MSC_VER: $(MSC_VER) is expected.
#endif
!if defined(USE_WINSOCK2)
-#define USE_WINSOCK2 1
+#define USE_WINSOCK2 $(USE_WINSOCK2)
!endif
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1