git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3673
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#ifndef __GSOCKET_H
#define __GSOCKET_H
+#ifndef __GSOCKET_STANDALONE__
#include "wx/setup.h"
+#endif
-#if wxUSE_SOCKETS
+#if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)
#include <stddef.h>
#include <sys/types.h>
#endif /* __cplusplus */
-#endif /* wxUSE_SOCKETS */
+#endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */
#endif /* __GSOCKET_H */
#ifndef __GSOCK_MSW_H
#define __GSOCK_MSW_H
+#ifndef __GSOCKET_STANDALONE__
+#include "wx/setup.h"
+#endif
+
+#if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)
+
#ifndef __GSOCKET_STANDALONE__
#include "wx/gsocket.h"
#else
}
#endif
+#endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */
+
#endif /* __GSOCK_MSW_H */
#ifndef __GSOCKET_STANDALONE__
-
#include "wx/setup.h"
+#endif
+
+#if wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__)
+
+
+#ifndef __GSOCKET_STANDALONE__
+
#include "wx/msw/gsockmsw.h"
#include "wx/gsocket.h"
#endif /* __GSOCKET_STANDALONE__ */
-#if defined(__GSOCKET_STANDALONE__) || defined(wxUSE_SOCKETS)
-
#include <assert.h>
#include <string.h>
#include <stdio.h>
}
-#endif /* defined(__GSOCKET_STANDALONE__) || defined(wxUSE_SOCKETS) */
+#endif /* wxUSE_SOCKETS || defined(__GSOCKET_STANDALONE__) */