diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-05-15 19:31:18 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-05-15 19:31:47 +0300 |
commit | 2e6d79799bc616addc5c6359179326b8f493a5a7 (patch) | |
tree | d423d1a718db238372cadf1a470198ec255d00c7 /avmedia | |
parent | The AVFoundation framework appeared in OS X 10.7 (diff) | |
download | core-2e6d79799bc616addc5c6359179326b8f493a5a7.tar.gz core-2e6d79799bc616addc5c6359179326b8f493a5a7.zip |
Use std::hash:map when building against libstdc++ (and not libc++)
Change-Id: I7873d99e5982170551ba0ff7b4f383af5935c25b
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/macavf/player.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/avmedia/source/macavf/player.mm b/avmedia/source/macavf/player.mm index 751dbed4661e..1e2c882b0bf6 100644 --- a/avmedia/source/macavf/player.mm +++ b/avmedia/source/macavf/player.mm @@ -25,8 +25,13 @@ using namespace ::com::sun::star; +#ifdef _LIBCPP_VERSION #include <unordered_map> typedef std::unordered_map<NSObject*,avmedia::macavf::MacAVObserverHandler*> HandlersForObject; +#else +#include <hash_map> +typedef std::hash_map<NSObject*,avmedia::macavf::MacAVObserverHandler*> HandlersForObject; +#endif @implementation MacAVObserverObject { |