Better #if checks for mac in ProcessPlatformProperty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -290,11 +290,10 @@ static void ProcessPlatformProperty(wxXmlNode *node)
|
|||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
if (s == wxT("win")) isok = true;
|
if (s == wxT("win")) isok = true;
|
||||||
#endif
|
#endif
|
||||||
#ifdef __UNIX__
|
#if defined(__MAC__) || defined(__APPLE__)
|
||||||
if (s == wxT("unix")) isok = true;
|
|
||||||
#endif
|
|
||||||
#ifdef __MAC__
|
|
||||||
if (s == wxT("mac")) isok = true;
|
if (s == wxT("mac")) isok = true;
|
||||||
|
#elif defined(__UNIX__)
|
||||||
|
if (s == wxT("unix")) isok = true;
|
||||||
#endif
|
#endif
|
||||||
#ifdef __OS2__
|
#ifdef __OS2__
|
||||||
if (s == wxT("os2")) isok = true;
|
if (s == wxT("os2")) isok = true;
|
||||||
|
@@ -290,11 +290,10 @@ static void ProcessPlatformProperty(wxXmlNode *node)
|
|||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
if (s == wxT("win")) isok = true;
|
if (s == wxT("win")) isok = true;
|
||||||
#endif
|
#endif
|
||||||
#ifdef __UNIX__
|
#if defined(__MAC__) || defined(__APPLE__)
|
||||||
if (s == wxT("unix")) isok = true;
|
|
||||||
#endif
|
|
||||||
#ifdef __MAC__
|
|
||||||
if (s == wxT("mac")) isok = true;
|
if (s == wxT("mac")) isok = true;
|
||||||
|
#elif defined(__UNIX__)
|
||||||
|
if (s == wxT("unix")) isok = true;
|
||||||
#endif
|
#endif
|
||||||
#ifdef __OS2__
|
#ifdef __OS2__
|
||||||
if (s == wxT("os2")) isok = true;
|
if (s == wxT("os2")) isok = true;
|
||||||
|
Reference in New Issue
Block a user