mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Add Windows Server 2025 build number
Closes GH-16838.
This commit is contained in:
committed by
Christoph M. Becker
parent
4c5710579a
commit
f086eaa7b8
1
NEWS
1
NEWS
@@ -17,6 +17,7 @@ PHP NEWS
|
||||
|
||||
- Windows:
|
||||
. Fixed bug GH-16849 (Error dialog causes process to hang). (cmb)
|
||||
. Windows Server 2025 is now properly reported. (cmb)
|
||||
|
||||
21 Nov 2024, PHP 8.4.1
|
||||
|
||||
|
||||
@@ -271,7 +271,9 @@ static char* php_get_windows_name()
|
||||
major = "Windows 10";
|
||||
}
|
||||
} else {
|
||||
if (osvi.dwBuildNumber >= 20348) {
|
||||
if (osvi.dwBuildNumber >= 26100) {
|
||||
major = "Windows Server 2025";
|
||||
} else if (osvi.dwBuildNumber >= 20348) {
|
||||
major = "Windows Server 2022";
|
||||
} else if (osvi.dwBuildNumber >= 19042) {
|
||||
major = "Windows Server, version 20H2";
|
||||
|
||||
Reference in New Issue
Block a user