diff --git a/src/activeqt/control/qaxservermain.cpp b/src/activeqt/control/qaxservermain.cpp
index 07156f4aa7eb81723ecaa3472d8b5ddbe3ecbd33..382ead120bbf084f6bfa7af48ee867fb389f45fe 100644
--- a/src/activeqt/control/qaxservermain.cpp
+++ b/src/activeqt/control/qaxservermain.cpp
@@ -53,11 +53,11 @@ static bool qAxActivity = false;
 static HANDLE hEventShutdown;
 
 #ifdef QT_DEBUG
-QT_STATIC_CONST DWORD dwTimeOut = 1000;
-QT_STATIC_CONST DWORD dwPause = 500;
+static const DWORD dwTimeOut = 1000;
+static const DWORD dwPause = 500;
 #else
-QT_STATIC_CONST DWORD dwTimeOut = 5000; // time for EXE to be idle before shutting down
-QT_STATIC_CONST DWORD dwPause = 1000; // time to wait for threads to finish up
+static const DWORD dwTimeOut = 5000; // time for EXE to be idle before shutting down
+static const DWORD dwPause = 1000; // time to wait for threads to finish up
 #endif
 
 extern HANDLE hEventShutdown;