comparison configure.ac @ 29354:6c2fa2293242

Increase Windows API version to Windows 7 (bug #60014). * configure.ac: Increase minimum value of _WIN32_WINNT to 0x0601 (Windows 7). * libinterp/corefcn/sysdep.cc (set_application_id): Call "SetCurrentProcessExplicitAppUserModelID" directly. * liboctave/system/oct-time.cc (base_tm::init): Call "GetTimeZoneInformationForYear" unconditionally. * NEWS: Add note about new minimum Windows version.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 06 Feb 2021 11:14:13 +0100
parents 6dea3b384846
children 2a4998b97990
comparison
equal deleted inserted replaced
29353:715344f405f0 29354:6c2fa2293242
1065 case $host_os in 1065 case $host_os in
1066 msdosmsvc | mingw*) 1066 msdosmsvc | mingw*)
1067 AC_MSG_CHECKING([for required _WIN32_WINNT]) 1067 AC_MSG_CHECKING([for required _WIN32_WINNT])
1068 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 1068 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
1069 #include <windows.h> 1069 #include <windows.h>
1070 #if _WIN32_WINNT < 0x0403 1070 #if _WIN32_WINNT < 0x0601
1071 #error "Wrong version" 1071 #error "Wrong version"
1072 #endif 1072 #endif
1073 ]], [])], 1073 ]], [])],
1074 [AC_MSG_RESULT([none])], 1074 [AC_MSG_RESULT([none])],
1075 [AC_DEFINE(_WIN32_WINNT, 0x0403, 1075 [AC_DEFINE(_WIN32_WINNT, 0x0601,
1076 [Define to 0x0403 to access InitializeCriticalSectionAndSpinCount.]) 1076 [Define to 0x0601 to access SetCurrentProcessExplicitAppUserModelID.])
1077 AC_MSG_RESULT([0x0403])]) 1077 AC_MSG_RESULT([0x0601])])
1078 ;; 1078 ;;
1079 esac 1079 esac
1080 1080
1081 ### gnulib initialization: part 2 1081 ### gnulib initialization: part 2
1082 dnl Must take place after part 1, and after standard compiler options and 1082 dnl Must take place after part 1, and after standard compiler options and