From: Ron Lee Date: Tue, 2 Jul 2002 01:21:09 +0000 (+0000) Subject: and yet once more to fix gtk compilation.. this is a nasty kludge X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ab8af15fed9b7323740032b4a23b20139a041481 and yet once more to fix gtk compilation.. this is a nasty kludge though, if anyone knows better, please do.. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index 5c8037fb15..40f367c6cc 100644 --- a/include/wx/gsocket.h +++ b/include/wx/gsocket.h @@ -13,6 +13,14 @@ #ifndef __GSOCKET_STANDALONE__ #include "wx/setup.h" + +// kludge for GTK.. gsockgtk.c craps out miserably if we include +// defs.h ... no idea how other files get away with it.. + +#if !defined( __WXMSW__ ) && !defined( WXDLLEXPORT ) +#define WXDLLEXPORT +#endif + #endif #if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)