mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-21 02:00:33 +01:00
fix linker error with MINGW32
This commit is contained in:
parent
8729e0a9b8
commit
861679e616
@ -445,7 +445,7 @@ inline Poco::Timespan Application::uptime() const
|
|||||||
//
|
//
|
||||||
// Macro to implement main()
|
// 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) \
|
#define POCO_APP_MAIN(App) \
|
||||||
int wmain(int argc, wchar_t** argv) \
|
int wmain(int argc, wchar_t** argv) \
|
||||||
{ \
|
{ \
|
||||||
|
@ -207,7 +207,7 @@ private:
|
|||||||
//
|
//
|
||||||
// Macro to implement main()
|
// 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) \
|
#define POCO_SERVER_MAIN(App) \
|
||||||
int wmain(int argc, wchar_t** argv) \
|
int wmain(int argc, wchar_t** argv) \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user