mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
Merge pull request #522 from bakercp/bugfix-mingw32
MinGW32 Compatibility Fixes.
This commit is contained in:
@@ -11,7 +11,7 @@ include $(POCO_BASE)/build/rules/global
|
||||
SHAREDOPT_CXX += -DNet_EXPORTS
|
||||
|
||||
objects = \
|
||||
DNS HTTPResponse HostEntry Socket \
|
||||
Net DNS HTTPResponse HostEntry Socket \
|
||||
DatagramSocket HTTPServer IPAddress IPAddressImpl SocketAddress SocketAddressImpl \
|
||||
HTTPBasicCredentials HTTPCookie HTMLForm MediaType DialogSocket \
|
||||
DatagramSocketImpl FilePartSource HTTPServerConnection MessageHeader \
|
||||
|
||||
@@ -73,12 +73,12 @@ namespace Poco {
|
||||
namespace Net {
|
||||
|
||||
|
||||
inline void Net_API initializeNetwork();
|
||||
void Net_API initializeNetwork();
|
||||
/// Initialize the network subsystem.
|
||||
/// (Windows only, no-op elsewhere)
|
||||
|
||||
|
||||
inline void Net_API uninitializeNetwork();
|
||||
void Net_API uninitializeNetwork();
|
||||
/// Uninitialize the network subsystem.
|
||||
/// (Windows only, no-op elsewhere)
|
||||
|
||||
@@ -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