mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
Fix static init exceptions for MinGW*.
This commit is contained in:
@@ -90,7 +90,7 @@ inline void Net_API uninitializeNetwork();
|
||||
// Automate network initialization (only relevant on Windows).
|
||||
//
|
||||
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS) && !defined(POCO_NO_AUTOMATIC_LIB_INIT)
|
||||
#if defined(POCO_OS_FAMILY_WINDOWS) && !defined(POCO_NO_AUTOMATIC_LIB_INIT) && !defined(__GNUC__)
|
||||
|
||||
extern "C" const struct Net_API NetworkInitializer pocoNetworkInitializer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user