CREATE-PROJECT: Provide a stub for "override" to older compilers

msbuild.h makes uses of the "override" keyword, so borrow the compat
macro from c++11-compat.h to make this work on older compilers,
such as the ones found on Mac OS X Leopard.
This commit is contained in:
Donovan Watteau 2021-02-03 21:41:19 +01:00 committed by sluicebox
parent 03960d5663
commit 5a78e1350b

View file

@ -27,6 +27,10 @@
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
#endif
#if __cplusplus < 201103L && (!defined(_MSC_VER) || _MSC_VER < 1700)
#define override // Compatibility with non-C++11 compilers.
#endif
#include <list>
#include <map>
#include <map>