Skip to content

Commit

Permalink
Added Windows 10 compilation fix from stevenlovegrove/Pangolin#609.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjulier committed Mar 26, 2022
1 parent 81e63f7 commit 5829291
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,13 @@ namespace std {
#define MPARK_TYPE_PACK_ELEMENT
#endif

// From https://github.com/stevenlovegrove/Pangolin/issues/609

#if defined(__cpp_constexpr) && __cpp_constexpr >= 201304
#ifndef _WIN32
#define MPARK_CPP14_CONSTEXPR
#endif
#endif

#if __has_feature(cxx_exceptions) || defined(__cpp_exceptions) || \
(defined(_MSC_VER) && defined(_CPPUNWIND))
Expand Down

0 comments on commit 5829291

Please sign in to comment.