Make code compile with Clang 12.
This just extends the preprocessor test to work around the infamous filesystem clock problem.
Clang uses the libstdc++ from g++10.2 but it defines the
__GNUC__
symbol a 4
. The easiest was to extend the #if
statement to also check for __clang__
.
This might not work with older clang versions, but we don't really care.
Edited by Reiner Hauser