mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 10:07:43 +00:00
fixup! fixup! Alter test for std::put_time to work on clang+libstdc++
This commit is contained in:
parent
5f1cc5841d
commit
b2178670c3
@ -17,7 +17,7 @@ See the COPYING file for more details.
|
||||
// Instead, we check for the presence of the <experimental/any> header.
|
||||
// This was introduced in GCC 5.1, so it's not a perfect check, but it appears to be the best available.
|
||||
// (Boost also uses the same check internally.)
|
||||
#if (defined(__clang__) && !__has_include(<experimental/any>) || (defined(__GNUC__) && __GNUC__ < 5)
|
||||
#if (defined(__clang__) && !__has_include(<experimental/any>)) || (defined(__GNUC__) && __GNUC__ < 5)
|
||||
|
||||
#include <ctime>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user