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:
parent
03960d5663
commit
5a78e1350b
1 changed files with 4 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue