Commit 3ca80a73 authored by Max Kellermann's avatar Max Kellermann

util/RefCount, db/simple/Mount: remove obsolete libc++ workarounds

No longer a problem with NDK r16.
parent d029dae7
...@@ -25,13 +25,6 @@ ...@@ -25,13 +25,6 @@
#include "db/Interface.hxx" #include "db/Interface.hxx"
#include "fs/Traits.hxx" #include "fs/Traits.hxx"
#ifdef _LIBCPP_VERSION
/* workaround for "error: incomplete type 'PlaylistInfo' used in type
trait expression" with libc++ version 3900 (from Android NDK
r13b) */
#include "db/PlaylistInfo.hxx"
#endif
#include <string> #include <string>
struct PrefixedLightDirectory : LightDirectory { struct PrefixedLightDirectory : LightDirectory {
......
...@@ -42,11 +42,6 @@ class RefCount { ...@@ -42,11 +42,6 @@ class RefCount {
std::atomic_uint n; std::atomic_uint n;
public: public:
#ifndef _LIBCPP_VERSION
/* the "constexpr" is missing in libc++'s "atomic"
implementation */
constexpr
#endif
RefCount():n(1) {} RefCount():n(1) {}
void Increment() { void Increment() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment