Allowed gsocket to compile when wxUSE_SOCKETS is 0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-09-13 05:31:20 +00:00
parent 2bbf461836
commit b661e6759e

View File

@@ -6,6 +6,8 @@
* ------------------------------------------------------------------------- * -------------------------------------------------------------------------
*/ */
#if defined(__GSOCKET_STANDALONE__) || defined(wxUSE_SOCKETS)
#ifndef __GSOCKET_STANDALONE__ #ifndef __GSOCKET_STANDALONE__
#include "wx/setup.h" #include "wx/setup.h"
@@ -28,8 +30,6 @@
#endif /* __GSOCKET_STANDALONE__ */ #endif /* __GSOCKET_STANDALONE__ */
#if defined(__GSOCKET_STANDALONE__) || defined(wxUSE_SOCKETS)
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>