Permalink
Browse files

[fix] - fixed wrong definition check for xbmc.getCondVisibility('syst…

…em.platform.osx')
  • Loading branch information...
1 parent 45129a3 commit 91a10f6c2ed258593949e212cdaf7ae97f7443af @Memphiz Memphiz committed Nov 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/GUIInfoManager.cpp
View
@@ -1859,7 +1859,7 @@ bool CGUIInfoManager::GetBool(int condition1, int contextWindow, const CGUIListI
#endif
else if (condition == SYSTEM_PLATFORM_OSX)
// TODO: rename SYSTEM_PLATFORM_OSX to SYSTEM_PLATFORM_DARWIN after eden release.
-#ifdef TARGET_OS_DARWIN
+#ifdef TARGET_DARWIN
bReturn = true;
#else
bReturn = false;

0 comments on commit 91a10f6

Please sign in to comment.