tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r408889 - /tomcat/connectors/trunk/jni/native/os/win32/system.c
Date Tue, 23 May 2006 13:29:22 GMT
Author: mturk
Date: Tue May 23 06:29:22 2006
New Revision: 408889

URL: http://svn.apache.org/viewvc?rev=408889&view=rev
Log:
Use < WINXP for winternl.h

Modified:
    tomcat/connectors/trunk/jni/native/os/win32/system.c

Modified: tomcat/connectors/trunk/jni/native/os/win32/system.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/os/win32/system.c?rev=408889&r1=408888&r2=408889&view=diff
==============================================================================
--- tomcat/connectors/trunk/jni/native/os/win32/system.c (original)
+++ tomcat/connectors/trunk/jni/native/os/win32/system.c Tue May 23 06:29:22 2006
@@ -36,7 +36,7 @@
 
 #pragma warning(push)
 #pragma warning(disable : 4201)
-#if (_WIN32_WINNT < 0x0502)
+#if (_WIN32_WINNT < 0x0501)
 #include <winternl.h>
 #endif
 #include <psapi.h>
@@ -79,7 +79,7 @@
             if (fnGetSystemTimes == NULL) {
                 FreeLibrary(h_kernel);
                 h_kernel = NULL;
-#if (_WIN32_WINNT < 0x0502)
+#if (_WIN32_WINNT < 0x0501)
                 if ((h_ntdll = LoadLibrary("ntdll.dll")) != NULL)
                     fnNtQuerySystemInformation =
                         (pfnNtQuerySystemInformation)GetProcAddress(h_ntdll,
@@ -322,7 +322,7 @@
         else
             goto cleanup;
     }
-#if (_WIN32_WINNT < 0x0502)
+#if (_WIN32_WINNT < 0x0501)
     else if (fnNtQuerySystemInformation) {
         BYTE buf[2048]; /* This should ne enough for 32 processors */
         NTSTATUS rs = (*fnNtQuerySystemInformation)(SystemProcessorPerformanceInformation,



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message