summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/win32/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/win32/misc.c b/misc/win32/misc.c
index 5ded3fed9..2b38a4aa5 100644
--- a/misc/win32/misc.c
+++ b/misc/win32/misc.c
@@ -27,7 +27,7 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level)
{
if (apr_os_level == APR_WIN_UNK)
{
- static OSVERSIONINFO oslev;
+ OSVERSIONINFO oslev;
oslev.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
if (!GetVersionEx(&oslev)) {
return apr_get_os_error();
@@ -35,7 +35,7 @@ apr_status_t apr_get_oslevel(apr_oslevel_e *level)
if (oslev.dwPlatformId == VER_PLATFORM_WIN32_NT)
{
- static unsigned int servpack = 0;
+ unsigned int servpack = 0;
TCHAR *pservpack;
if ((pservpack = oslev.szCSDVersion)) {
while (*pservpack && !apr_isdigit(*pservpack)) {