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

This commit is contained in:
Ozkan Sezer authored and Sam Lantinga committed 2022-06-18 13:00:44 -07:00
1 parent 5f6d0abebe
commit a8d41b3b45
7 files changed
+27 -6

No files matched your search

+4
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