X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ce22d615fe940444602cf4c167f9ad29361a5d25..138618acb91e2a879a735c5806f9f728220f14df:/include/wx/sckaddr.h diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index 087b9510d0..a780b3a716 100644 --- a/include/wx/sckaddr.h +++ b/include/wx/sckaddr.h @@ -12,8 +12,8 @@ #ifndef _WX_NETWORK_ADDRESS_H #define _WX_NETWORK_ADDRESS_H -#ifdef __GNUG__ -#pragma interface +#if defined(__GNUG__) && !defined(__APPLE__) +#pragma interface "sckaddr.h" #endif #include "wx/defs.h" @@ -42,11 +42,14 @@ public: void SetAddress(GAddress *address); // we need to be able to create copies of the addresses polymorphically (i.e. - // wihtout knowing the exact address class) + // without knowing the exact address class) virtual wxSockAddress *Clone() const = 0; protected: GAddress *m_address; + +private: + void Init(); }; class WXDLLEXPORT wxIPV4address : public wxSockAddress { @@ -98,7 +101,7 @@ public: }; #endif -#if defined(__UNIX__) && !defined(__WXMAC__) +#if defined(__UNIX__) && !defined(__WINE__) && (!defined(__WXMAC__) || defined(__DARWIN__)) #include #ifndef __VMS__ # include