You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/06/29 11:05:38 UTC
[tomcat-native] branch main updated: Remove code intended for pre Windows XP systems (2000, NT4, etc)
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
The following commit(s) were added to refs/heads/main by this push:
new 2ef589341 Remove code intended for pre Windows XP systems (2000, NT4, etc)
2ef589341 is described below
commit 2ef589341ee9f72a02aa0c9a6057eee4b9f8ff7a
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jun 29 12:05:32 2022 +0100
Remove code intended for pre Windows XP systems (2000, NT4, etc)
---
native/os/win32/system.c | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/native/os/win32/system.c b/native/os/win32/system.c
index ad9c58ae4..f4f0b7220 100644
--- a/native/os/win32/system.c
+++ b/native/os/win32/system.c
@@ -67,17 +67,6 @@ DllMain(
if (fnGetSystemTimes == NULL) {
FreeLibrary(h_kernel);
h_kernel = NULL;
-#if (_WIN32_WINNT < 0x0501)
- if ((h_ntdll = LoadLibrary("ntdll.dll")) != NULL)
- fnNtQuerySystemInformation =
- (pfnNtQuerySystemInformation)GetProcAddress(h_ntdll,
- "NtQuerySystemInformation");
-
- if (fnNtQuerySystemInformation == NULL) {
- FreeLibrary(h_ntdll);
- h_ntdll = NULL;
- }
-#endif
}
GetModuleFileName(instance, dll_file_name, sizeof(dll_file_name));
break;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org