fix linker error with MINGW32

This commit is contained in:
Marian Krivos 2011-01-15 17:32:00 +00:00
parent 8729e0a9b8
commit 861679e616
2 changed files with 2 additions and 2 deletions

View File

@ -445,7 +445,7 @@ inline Poco::Timespan Application::uptime() const
//
// Macro to implement main()
//
#if defined(_WIN32) && defined(POCO_WIN32_UTF8) && !defined(POCO_NO_WSTRING)
#if defined(_WIN32) && defined(POCO_WIN32_UTF8) && !defined(POCO_NO_WSTRING) && !defined(MINGW32)
#define POCO_APP_MAIN(App) \
int wmain(int argc, wchar_t** argv) \
{ \

View File

@ -207,7 +207,7 @@ private:
//
// Macro to implement main()
//
#if defined(_WIN32) && defined(POCO_WIN32_UTF8)
#if defined(_WIN32) && defined(POCO_WIN32_UTF8) && !defined(MINGW32)
#define POCO_SERVER_MAIN(App) \
int wmain(int argc, wchar_t** argv) \
{ \