configure.ac |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit d2def868cb3ac5a7e538a911e83d7d907a2ec794
Author:     Hossein <[email protected]>
AuthorDate: Thu Nov 13 00:19:26 2025 +0000
Commit:     Hossein <[email protected]>
CommitDate: Thu Nov 13 21:25:25 2025 +0100

    Add VS 2026 support
    
    This patch modifies configure.ac in a way that LibreOffice compiles
    with Visual Studio 2026.
    
    The option --with-visual-studio=2026 should be used in the configuration
    file autogen.input in order to use VS 2026.
    
    Change-Id: I5bd0b5629264c0cb6ec3846954eded2505f06a4e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193934
    Tested-by: Jenkins
    Reviewed-by: Hossein <[email protected]>

diff --git a/configure.ac b/configure.ac
index b3a654509531..6b2649487576 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4414,6 +4414,8 @@ map_vs_year_to_version()
     case $1 in
     2022)
         vsversion=17;;
+    2026)
+        vsversion=18;;
     *)
         AC_MSG_ERROR([Assertion failure - invalid argument "$1" to 
map_vs_year_to_version()]);;
     esac
@@ -4539,6 +4541,9 @@ find_msvc()
             vcyear=2022
             vctoolset=v143
             ;;
+        18.0)
+            vcyear=2026
+            vctoolset=v145
         esac
         vcbuildnumber=`ls $vctest/VC/Tools/MSVC -A1r | head -1`
 
@@ -4706,7 +4711,7 @@ if test "$_os" = "WINNT"; then
         # are always "better", we list them in reverse chronological order.
 
         case "$vcnumwithdot" in
-        16.0 | 17.0 | 17.14)
+        16.0 | 17.0 | 17.14 | 18.0)
             WINDOWS_SDK_ACCEPTABLE_VERSIONS="10.0 8.1A 8.1 8.0"
             ;;
         esac

Reply via email to