summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-16 23:12:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-16 23:12:02 +0000
commit50b0f0eb1bbd4d3ee9c9d9ea6c35b58326dd34ca (patch)
tree49ad9204e6de378fe5f0862d6fbc6ac2686fc89c /win32/Makefile.sub
parent3304eb208af0b9062093cc9cd2042ba6d7e42418 (diff)
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
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub5
1 files changed, 4 insertions, 1 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 02e7339..a963146 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