mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-18 16:37:13 +01:00
trunk/branch integration: Enviroment::libraryVersion()
This commit is contained in:
parent
fb0fabd43c
commit
7e1cc09a3c
@ -35,16 +35,23 @@
|
||||
|
||||
|
||||
#include "Poco/Environment.h"
|
||||
#include "Poco/Version.h"
|
||||
#include <cstdlib>
|
||||
#include <cstdio> // sprintf()
|
||||
|
||||
|
||||
#if defined(POCO_OS_FAMILY_VMS)
|
||||
#include "Environment_VMS.cpp"
|
||||
#elif defined(POCO_VXWORKS)
|
||||
#include "Environment_VX.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_UNIX)
|
||||
#include "Environment_UNIX.cpp"
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS) && defined(POCO_WIN32_UTF8)
|
||||
#if defined(_WIN32_WCE)
|
||||
#include "Environment_WINCE.cpp"
|
||||
#else
|
||||
#include "Environment_WIN32U.cpp"
|
||||
#endif
|
||||
#elif defined(POCO_OS_FAMILY_WINDOWS)
|
||||
#include "Environment_WIN32.cpp"
|
||||
#endif
|
||||
@ -132,4 +139,10 @@ unsigned Environment::processorCount()
|
||||
}
|
||||
|
||||
|
||||
Poco::UInt32 Environment::libraryVersion()
|
||||
{
|
||||
return POCO_VERSION;
|
||||
}
|
||||
|
||||
|
||||
} // namespace Poco
|
||||
|
Loading…
x
Reference in New Issue
Block a user