]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gsocket.h
use "..." for wx includes instead of <...>
[wxWidgets.git] / include / wx / gsocket.h
index 5c8037fb15e0dbf8b9869fd1686b3ce34fc2775d..85c5cedd8098c35d966c02b51a13e97b558ae12e 100644 (file)
 
 #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__)