git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5930
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif
#include "wx/defs.h"
-#include "wx/setup.h"
+
+#if wxUSE_SOCKETS
+
#include "wx/ipcbase.h"
#include "wx/socket.h"
#include "wx/sckstrm.h"
virtual wxConnectionBase *OnMakeConnection();
};
+#endif // wxUSE_SOCKETS
+
#endif // ipcsock.h
_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 */