]> git.saurik.com Git - wxWidgets.git/commitdiff
and yet once more to fix gtk compilation.. this is a nasty kludge
authorRon Lee <ron@debian.org>
Tue, 2 Jul 2002 01:21:09 +0000 (01:21 +0000)
committerRon Lee <ron@debian.org>
Tue, 2 Jul 2002 01:21:09 +0000 (01:21 +0000)
though, if anyone knows better, please do..

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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__)