summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-16 13:50:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-16 13:50:29 +0000
commita8c6a52a1ac9240c15a38f9b9a50b01096e09b41 (patch)
tree4f98a7f6fb4f72ebc4c5a66b037d99db503738f1 /win32/Makefile.sub
parent8ead78806cd0f3b3e76c953c1f11181b9332db62 (diff)
win32/setup.mak: check psapi.h
* win32/setup.mak (check-psapi.h): check if psapi.h is available. * win32/win32.c (CHECK_CONSOLE_EMULATOR): enable console emulator DLL check only when psapi.h is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 39c63b9..02e7339 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -678,6 +678,9 @@ $(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)
+#define HAVE_PSAPI_H 1
+!endif
#define SETPGRP_VOID 1
#define RSHIFT(x,y) ((x)>>(int)y)
#define HAVE_RB_FD_INIT 1