diff options
Diffstat (limited to 'sql/nt_servc.cc')
-rw-r--r-- | sql/nt_servc.cc | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/nt_servc.cc b/sql/nt_servc.cc index e05e43a0a59..654383c3320 100644 --- a/sql/nt_servc.cc +++ b/sql/nt_servc.cc @@ -64,19 +64,6 @@ NTService::~NTService() -------------------------------------------------------------------------- */ -BOOL NTService::GetOS() -{ - bOsNT = FALSE; - memset(&osVer, 0, sizeof(OSVERSIONINFO)); - osVer.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); - if (GetVersionEx(&osVer)) - { - if (osVer.dwPlatformId == VER_PLATFORM_WIN32_NT) - bOsNT = TRUE; - } - return bOsNT; -} - /** Registers the main service thread with the service manager. |