changeset 29742:07ecddf2174c

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Mon, 07 Jun 2021 22:14:41 +0200
parents c3bab252f071 (current diff) 35389a23d09a (diff)
children 5ed71a4cd578
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Jun 07 16:54:12 2021 +0200
+++ b/configure.ac	Mon Jun 07 22:14:41 2021 +0200
@@ -1289,7 +1289,7 @@
 case $host_os in
   msdosmsvc | mingw*)
     AC_CHECK_HEADERS([psapi.h],
-      [LIBS="-lpsapi $LIBS"],
+      [LIBS="-lpsapi $LIBS" CPPFLAGS="-DPSAPI_VERSION=1 $CPPFLAGS"],
       [AC_MSG_ERROR([Missing PSAPI required to build for Windows target.])],
       [#include <windows.h>])
   ;;