some Motif compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-02-09 17:53:42 +00:00
parent 06b466c74f
commit 26dfedc4fc
2 changed files with 11 additions and 2 deletions

View File

@ -20,7 +20,9 @@
#endif
#include "wx/defs.h"
#include "wx/setup.h"
#if wxUSE_SOCKETS
#include "wx/ipcbase.h"
#include "wx/socket.h"
#include "wx/sckstrm.h"
@ -136,4 +138,6 @@ public:
virtual wxConnectionBase *OnMakeConnection();
};
#endif // wxUSE_SOCKETS
#endif // ipcsock.h

View File

@ -117,4 +117,9 @@ void _GSocket_Disable_Events(GSocket *socket)
_GSocket_Uninstall_Callback(socket, GSOCK_OUTPUT);
}
#endif /* wxUSE_SOCKETS */
#else /* !wxUSE_SOCKETS */
/* some compilers don't like having empty source files */
static int wxDummyGsockVar = 0;
#endif /* wxUSE_SOCKETS/!wxUSE_SOCKETS */