OS/2 now uses C++ gsocket.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,12 +11,7 @@
|
|||||||
#ifndef __GSOCKET_H
|
#ifndef __GSOCKET_H
|
||||||
#define __GSOCKET_H
|
#define __GSOCKET_H
|
||||||
|
|
||||||
// FIXME: OS/2 needs to move to modern C++ GSocket
|
|
||||||
#if defined(__OS2__)
|
|
||||||
#undef wxUSE_GSOCKET_CPLUSPLUS
|
|
||||||
#else
|
|
||||||
#define wxUSE_GSOCKET_CPLUSPLUS 1
|
#define wxUSE_GSOCKET_CPLUSPLUS 1
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(__cplusplus) && defined(wxUSE_GSOCKET_CPLUSPLUS)
|
#if !defined(__cplusplus) && defined(wxUSE_GSOCKET_CPLUSPLUS)
|
||||||
#error "You need to compile this file (probably a GUI gsock peice) as C++"
|
#error "You need to compile this file (probably a GUI gsock peice) as C++"
|
||||||
|
Reference in New Issue
Block a user