X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82805fe2805636891305796658219faa038677a4..57530dba8561c3133657ea946665b2d6a56279b8:/include/wx/gsocket.h diff --git a/include/wx/gsocket.h b/include/wx/gsocket.h index 5c8037fb15..85c5cedd80 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__)