aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-14 10:56:25 +0100
committerMax Kellermann <max@duempel.org>2013-01-14 10:56:42 +0100
commit43a99285378bb5d40ed311729ff1f507fbe37a34 (patch)
treeda04a61e44cae860a083db0fc07f78f5a0f2ab5d
parentc8b408beae9bf2118c7792dff5d37f3109646c39 (diff)
downloadmpd-43a99285378bb5d40ed311729ff1f507fbe37a34.tar.gz
mpd-43a99285378bb5d40ed311729ff1f507fbe37a34.tar.xz
mpd-43a99285378bb5d40ed311729ff1f507fbe37a34.zip
gcc.h: add C++11 "final" fallback macro
-rw-r--r--src/gcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gcc.h b/src/gcc.h
index e921b4646..884e62be6 100644
--- a/src/gcc.h
+++ b/src/gcc.h
@@ -88,6 +88,7 @@
/* support for C++11 "override" was added in gcc 4.7 */
#if !defined(__clang__) && defined(__GNUC__) && !GCC_CHECK_VERSION(4,7)
#define override
+#define final
#endif
#endif