trunk/branch integration: Enviroment::libraryVersion()

This commit is contained in:
Marian Krivos 2011-08-22 16:54:03 +00:00
parent fb0fabd43c
commit 7e1cc09a3c

View File

@ -35,16 +35,23 @@
#include "Poco/Environment.h" #include "Poco/Environment.h"
#include "Poco/Version.h"
#include <cstdlib> #include <cstdlib>
#include <cstdio> // sprintf() #include <cstdio> // sprintf()
#if defined(POCO_OS_FAMILY_VMS) #if defined(POCO_OS_FAMILY_VMS)
#include "Environment_VMS.cpp" #include "Environment_VMS.cpp"
#elif defined(POCO_VXWORKS)
#include "Environment_VX.cpp"
#elif defined(POCO_OS_FAMILY_UNIX) #elif defined(POCO_OS_FAMILY_UNIX)
#include "Environment_UNIX.cpp" #include "Environment_UNIX.cpp"
#elif defined(POCO_OS_FAMILY_WINDOWS) && defined(POCO_WIN32_UTF8) #elif defined(POCO_OS_FAMILY_WINDOWS) && defined(POCO_WIN32_UTF8)
#if defined(_WIN32_WCE)
#include "Environment_WINCE.cpp"
#else
#include "Environment_WIN32U.cpp" #include "Environment_WIN32U.cpp"
#endif
#elif defined(POCO_OS_FAMILY_WINDOWS) #elif defined(POCO_OS_FAMILY_WINDOWS)
#include "Environment_WIN32.cpp" #include "Environment_WIN32.cpp"
#endif #endif
@ -132,4 +139,10 @@ unsigned Environment::processorCount()
} }
Poco::UInt32 Environment::libraryVersion()
{
return POCO_VERSION;
}
} // namespace Poco } // namespace Poco