mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 18:42:41 +01:00
* Don't leak <windows.h> (Poco/Unwindows.h) to library users
This commit is contained in:
@@ -33,10 +33,10 @@ class Foundation_API Error
|
||||
public:
|
||||
|
||||
#ifdef POCO_OS_FAMILY_WINDOWS
|
||||
static DWORD last();
|
||||
static Poco::UInt32 last();
|
||||
/// Utility function returning the last error.
|
||||
|
||||
static std::string getMessage(DWORD errorCode);
|
||||
static std::string getMessage(Poco::UInt32 errorCode);
|
||||
/// Utility function translating numeric error code to string.
|
||||
#else
|
||||
static int last();
|
||||
|
||||
Reference in New Issue
Block a user