X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82805fe2805636891305796658219faa038677a4..82df67d960355e99a66b1db473b9d6236bf2fbb9:/include/wx/gsocket.h?ds=inline 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__)