diff options
author | Max Kellermann <max@duempel.org> | 2014-11-28 19:33:09 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-11-28 19:33:09 +0100 |
commit | 16a99ad515915f5bc9a4810c412488e966310774 (patch) | |
tree | cb95d5dd5302bb108fa1c29cdfe869d55b1a4c79 /src/fs | |
parent | d93172bee81ce18cd3ea4675907d204502d7ff49 (diff) | |
download | mpd-16a99ad515915f5bc9a4810c412488e966310774.tar.gz mpd-16a99ad515915f5bc9a4810c412488e966310774.tar.xz mpd-16a99ad515915f5bc9a4810c412488e966310774.zip |
Compiler.h: exclude clang from GCC_CHECK_VERSION()
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/AllocatedPath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/AllocatedPath.cxx b/src/fs/AllocatedPath.cxx index ceaad73ea..0f394dd6e 100644 --- a/src/fs/AllocatedPath.cxx +++ b/src/fs/AllocatedPath.cxx @@ -111,7 +111,7 @@ AllocatedPath::ChopSeparators() while (l >= 2 && PathTraitsFS::IsSeparator(p[l - 1])) { --l; -#if GCC_CHECK_VERSION(4,7) && !defined(__clang__) +#if GCC_CHECK_VERSION(4,7) value.pop_back(); #else value.erase(value.end() - 1, value.end()); |