Commit 43a99285 authored by Max Kellermann's avatar Max Kellermann

gcc.h: add C++11 "final" fallback macro

parent c8b408be
......@@ -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
......
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