Skip to content

Commit

Permalink
[MERGE #1686 @MikeHolman] require min of VS2015 Update 3 for constexpr
Browse files Browse the repository at this point in the history
Merge pull request #1686 from MikeHolman:vsconstexpr
  • Loading branch information
MikeHolman committed Oct 4, 2016
2 parents f802e4c + 258c0c3 commit ca71469
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Common/CommonDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,8 @@
// Other features
// #define CHAKRA_CORE_DOWN_COMPAT 1

#if defined(_MSC_VER) && (_MSC_VER >= 1900 )
// VS2015 RTM has bugs with constexpr, so require min of VS2015 Update 3 (known good version)
#if !defined(_MSC_VER) || _MSC_FULL_VER >= 190024210
#define HAS_CONSTEXPR 1
#endif

Expand Down

0 comments on commit ca71469

Please sign in to comment.