diff options
author | Max Kellermann <max@duempel.org> | 2014-11-28 19:09:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-11-28 19:09:56 +0100 |
commit | d93172bee81ce18cd3ea4675907d204502d7ff49 (patch) | |
tree | fd138b52de46d524843d046c06fd05b1f10f0c2d /src/storage/CompositeStorage.cxx | |
parent | 25429af1227469e1b8d1c43d5da8d9d1b109fe8c (diff) | |
download | mpd-d93172bee81ce18cd3ea4675907d204502d7ff49.tar.gz mpd-d93172bee81ce18cd3ea4675907d204502d7ff49.tar.xz mpd-d93172bee81ce18cd3ea4675907d204502d7ff49.zip |
Compiler.h: add macro CLANG_OR_GCC_VERSION()
Diffstat (limited to 'src/storage/CompositeStorage.cxx')
-rw-r--r-- | src/storage/CompositeStorage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/CompositeStorage.cxx b/src/storage/CompositeStorage.cxx index 89a2fc756..ce9c1e8b1 100644 --- a/src/storage/CompositeStorage.cxx +++ b/src/storage/CompositeStorage.cxx @@ -137,7 +137,7 @@ CompositeStorage::Directory::Make(const char *uri) Directory *directory = this; while (*uri != 0) { const std::string name = NextSegment(uri); -#if defined(__clang__) || GCC_CHECK_VERSION(4,8) +#if CLANG_OR_GCC_VERSION(4,8) auto i = directory->children.emplace(std::move(name), Directory()); #else |