Don't compile Carbon wxGetOsVersion() as part of wxOSX/Cocoa.
It was already excluded for wxiOS, and this function has also a Cocoa-specific
implementation since 411027d5b4
, so don't
compile it twice.
See https://github.com/wxWidgets/wxWidgets/pull/62
This commit is contained in:
@@ -53,7 +53,7 @@ extern WXDLLIMPEXP_BASE wxSocketManager *wxOSXSocketManagerCF;
|
|||||||
wxSocketManager *wxOSXSocketManagerCF = NULL;
|
wxSocketManager *wxOSXSocketManagerCF = NULL;
|
||||||
#endif // wxUSE_SOCKETS
|
#endif // wxUSE_SOCKETS
|
||||||
|
|
||||||
#if ( !wxUSE_GUI && !wxOSX_USE_IPHONE ) || wxOSX_USE_CARBON
|
#if wxOSX_USE_CARBON
|
||||||
|
|
||||||
// our OS version is the same in non GUI and GUI cases
|
// our OS version is the same in non GUI and GUI cases
|
||||||
wxOperatingSystemId wxGetOsVersion(int *majorVsn, int *minorVsn)
|
wxOperatingSystemId wxGetOsVersion(int *majorVsn, int *minorVsn)
|
||||||
|
Reference in New Issue
Block a user