Skip to content

Commit

Permalink
Fix compiling on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
SergiusTheBest committed Oct 12, 2023
1 parent a2655a1 commit 78ff3ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Common.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once

#ifdef __cpp_constexpr
#if defined(__cpp_constexpr) && (!defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR))
# include "doctest/2.4.11/doctest.h" // C++11 and higher
#else
# include "doctest/1.2.9/doctest.h" // pre C++11
Expand Down

0 comments on commit 78ff3ff

Please sign in to comment.