diff options
-rw-r--r-- | xbmc/guilib/GUIFontCache.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xbmc/guilib/GUIFontCache.cpp b/xbmc/guilib/GUIFontCache.cpp index 1359b2ba2c..33e1d0076d 100644 --- a/xbmc/guilib/GUIFontCache.cpp +++ b/xbmc/guilib/GUIFontCache.cpp @@ -23,6 +23,13 @@ #include "GUIFontTTF.h" #include "GraphicContext.h" +#if defined(TARGET_DARWIN ) +// apple clang with c++11 doesn't like +// the forwards declarations of boost +// disable them ... +#define BOOST_DETAIL_NO_CONTAINER_FWD 1 +#endif + #include "boost/multi_index_container.hpp" #include "boost/multi_index/sequenced_index.hpp" #include "boost/multi_index/hashed_index.hpp" |