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 | |
parent | 0a829b062ce710e75aff89543d88898a1733f8fd (diff) |
Use std::hash:map when building against libstdc++ (and not libc++)
Change-Id: I7873d99e5982170551ba0ff7b4f383af5935c25b
-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 { |