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:
parent
03d9c427e0
commit
271e8ab62e
@ -53,7 +53,7 @@ extern WXDLLIMPEXP_BASE wxSocketManager *wxOSXSocketManagerCF;
|
||||
wxSocketManager *wxOSXSocketManagerCF = NULL;
|
||||
#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
|
||||
wxOperatingSystemId wxGetOsVersion(int *majorVsn, int *minorVsn)
|
||||
|
Loading…
Reference in New Issue
Block a user