X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c0d0845c205a59cb0d8c73c0e4bcc84a9d6c550..138618acb91e2a879a735c5806f9f728220f14df:/include/wx/sckaddr.h diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index c9be201e8e..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" @@ -101,7 +101,7 @@ public: }; #endif -#if defined(__UNIX__) && !defined(__WXMAC__) +#if defined(__UNIX__) && !defined(__WINE__) && (!defined(__WXMAC__) || defined(__DARWIN__)) #include #ifndef __VMS__ # include