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

This commit is contained in:
Max Kellermann 2013-01-14 10:56:25 +01:00
parent c8b408beae
commit 43a9928537

View File

@ -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