Fix static init exceptions for MinGW*.

This commit is contained in:
Christopher Baker
2014-08-21 14:27:51 -05:00
parent fd0785ea03
commit e469e4fc62
4 changed files with 4 additions and 4 deletions

View File

@@ -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;