# HG changeset patch # User Markus Mützel # Date 1641470354 -3600 # Node ID 9ccca4b29aa315539be860c42888dba7ba1b5245 # Parent 366839a6e6ef650b800098fb4d5143e94c6482a2 gcc, mingw-w64: Set Windows API to Windows 7 for all Octave targets. * src/build-gcc.mk, src/mingw-w64.mk: Set Windows API to Windows 7 for all Octave targets (including "release-octave"). diff -r 366839a6e6ef -r 9ccca4b29aa3 src/build-gcc.mk --- a/src/build-gcc.mk Wed Jan 05 12:36:45 2022 +0100 +++ b/src/build-gcc.mk Thu Jan 06 12:59:14 2022 +0100 @@ -49,10 +49,7 @@ endef endif - ifneq ($(OCTAVE_TARGET),release-octave) - # FIXME: Set unconditionally for the first release candidate of Octave 7. - $(PKG)_WINAPI_VERSION_FLAGS := --with-default-win32-winnt=0x0601 - endif + $(PKG)_WINAPI_VERSION_FLAGS := --with-default-win32-winnt=0x0601 ifneq ($(HOST_MSVCRT),ucrt) $(PKG)_DEFAULT_MSVCRT := --with-default-msvcrt=msvcrt diff -r 366839a6e6ef -r 9ccca4b29aa3 src/mingw-w64.mk --- a/src/mingw-w64.mk Wed Jan 05 12:36:45 2022 +0100 +++ b/src/mingw-w64.mk Thu Jan 06 12:59:14 2022 +0100 @@ -17,10 +17,7 @@ tail -1 endef -ifneq ($(OCTAVE_TARGET),release-octave) - # FIXME: Set unconditionally for the first release candidate of Octave 7. - $(PKG)_WINAPI_VERSION_FLAGS := --with-default-win32-winnt=0x0601 -endif +$(PKG)_WINAPI_VERSION_FLAGS := --with-default-win32-winnt=0x0601 ifneq ($(HOST_MSVCRT),ucrt) $(PKG)_DEFAULT_MSVCRT := --with-default-msvcrt=msvcrt