From a8c6a52a1ac9240c15a38f9b9a50b01096e09b41 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 16 Oct 2013 13:50:29 +0000 Subject: 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 --- win32/Makefile.sub | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/Makefile.sub') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 39c63b9dcf..02e7339ad6 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 -- cgit v1.2.3