From c21b68f7dd54127d51ec662b67e559f2a73a0a69 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Garcia Date: Wed, 15 Sep 1999 00:02:49 +0000 Subject: [PATCH] Added _GSOCKET_STANDALONE_ symbol git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/gsockmsw.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/wx/msw/gsockmsw.h b/include/wx/msw/gsockmsw.h index 001c18be46..38105d5fa2 100644 --- a/include/wx/msw/gsockmsw.h +++ b/include/wx/msw/gsockmsw.h @@ -9,7 +9,7 @@ #ifndef __GSOCK_MSW_H #define __GSOCK_MSW_H -#ifdef __WXMSW__ +#ifndef __GSOCKET_STANDALONE__ #include "wx/gsocket.h" #else #include "gsocket.h" @@ -18,6 +18,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /* Definition of GSocket */ struct _GSocket { @@ -51,10 +55,6 @@ struct _GAddress }; -#ifdef __cplusplus -extern "C" { -#endif - /* Input / output */ GSocketError _GSocket_Input_Timeout(GSocket *socket); -- 2.45.2