Added _GSOCKET_STANDALONE_ symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
#ifndef __GSOCK_MSW_H
|
#ifndef __GSOCK_MSW_H
|
||||||
#define __GSOCK_MSW_H
|
#define __GSOCK_MSW_H
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifndef __GSOCKET_STANDALONE__
|
||||||
#include "wx/gsocket.h"
|
#include "wx/gsocket.h"
|
||||||
#else
|
#else
|
||||||
#include "gsocket.h"
|
#include "gsocket.h"
|
||||||
@@ -18,6 +18,10 @@
|
|||||||
#include <winsock.h>
|
#include <winsock.h>
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Definition of GSocket */
|
/* Definition of GSocket */
|
||||||
struct _GSocket
|
struct _GSocket
|
||||||
{
|
{
|
||||||
@@ -51,10 +55,6 @@ struct _GAddress
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Input / output */
|
/* Input / output */
|
||||||
|
|
||||||
GSocketError _GSocket_Input_Timeout(GSocket *socket);
|
GSocketError _GSocket_Input_Timeout(GSocket *socket);
|
||||||
|
Reference in New Issue
Block a user