From 50b0f0eb1bbd4d3ee9c9d9ea6c35b58326dd34ca Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 16 Oct 2013 23:12:02 +0000 Subject: Makefile.sub: default HAVE_PSAPI_H to 0 * win32/Makefile.sub (HAVE_PSAPI_H): default to 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 02e7339ad6..a963146ad7 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -308,6 +308,9 @@ STACK = $(STACK),$(STACK_COMMIT) !endif ORGLIBPATH = $(LIB) +!if defined(HAVE_PSAPI_H) +HAVE_PSAPI_H = 0 +!endif #### End of system configuration section. #### LIBRUBY_A = $(RUBY_SO_NAME)-static.lib @@ -678,7 +681,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define HAVE_DAYLIGHT 1 #define HAVE_GMTIME_R 1 #define HAVE_TYPE_NET_LUID 1 -!if defined(HAVE_PSAPI_H) && $(HAVE_PSAPI_H) +!if $(HAVE_PSAPI_H) #define HAVE_PSAPI_H 1 !endif #define SETPGRP_VOID 1 -- cgit v1.2.3