Get rid of wxUSE_GSOCKET_CPLUSPLUS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -97,7 +97,6 @@ public:
|
||||
};
|
||||
|
||||
/* Compatibility methods to support old C API (from gsocket.h) */
|
||||
#ifdef wxUSE_GSOCKET_CPLUSPLUS
|
||||
inline void GSocket_Shutdown(GSocket *socket)
|
||||
{ socket->Shutdown(); }
|
||||
inline GSocketError GSocket_SetLocal(GSocket *socket, GAddress *address)
|
||||
@@ -144,7 +143,6 @@ inline GSocketError GSocket_SetSockOpt(GSocket *socket, int level, int optname,
|
||||
inline void GSocket_destroy(GSocket *socket)
|
||||
{ delete socket; }
|
||||
|
||||
#endif /* def wxUSE_GSOCKET_CPLUSPLUS */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
Reference in New Issue
Block a user