Fix VC9 compilation
Due to #def EXPLICIT explicit in VC9's dvec.h file, the TYPE enum was broken for SDL2 builds.
This commit is contained in:
parent
eb55fe772f
commit
acc9afe9a9
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@
|
|||
#include "formula_callable.hpp"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#if _MSC_VER < 1600
|
||||
// SDL2 uses [dfi]vec.h which used to define EXPLICIT
|
||||
#undef EXPLICIT
|
||||
#endif
|
||||
#pragma warning(push)
|
||||
//silence "inherits via dominance" warnings
|
||||
#pragma warning(disable:4250)
|
||||
|
|
Loading…
Add table
Reference in a new issue