]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gsocket.h
automatically initialize m_cRef to 0 (patch 575011 + more)
[wxWidgets.git] / include / wx / gsocket.h
index 5c8037fb15e0dbf8b9869fd1686b3ce34fc2775d..40f367c6cc31ec52d8a47ef9d12d3826d19d711b 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__)