diff options
-rw-r--r-- | win32/Makefile.sub | 5 |
1 files changed, 4 insertions, 1 deletions
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 |