X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6c0d0845c205a59cb0d8c73c0e4bcc84a9d6c550..d38e8d5f34262fa688cd0e5d397a2201978e5fa7:/include/wx/sckaddr.h diff --git a/include/wx/sckaddr.h b/include/wx/sckaddr.h index c9be201e8e..5cdc79252c 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(__WXMAC__) || defined(__DARWIN__)) #include #ifndef __VMS__ # include