check for shellscalingapi.h presence instead of WINVER >= 0x0603

This commit is contained in:
Ozkan Sezer
2022-06-18 21:51:32 +03:00
committed by Sam Lantinga
parent 5f6d0abebe
commit a8d41b3b45
7 changed files with 27 additions and 6 deletions

View File

@@ -3242,6 +3242,10 @@ CheckWINDOWS()
if test x$have_roapi_h = xyes; then
AC_DEFINE(HAVE_ROAPI_H, 1, [ ])
fi
AC_CHECK_HEADER(shellscalingapi.h,have_shellscalingapi_h=yes)
if test x$shellscalingapi_h = xyes; then
AC_DEFINE(HAVE_SHELLSCALINGAPI_H, 1, [ ])
fi
}
dnl Determine whether the compiler can produce OS/2 executables