diff --git a/include/jwt/config.hpp b/include/jwt/config.hpp index 6370510..5d94a0c 100644 --- a/include/jwt/config.hpp +++ b/include/jwt/config.hpp @@ -29,7 +29,7 @@ // To hack around Visual Studio error: // error C3431: 'algorithm': a scoped enumeration cannot be redeclared as an unscoped enumeration -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(__clang__) #define SCOPED_ENUM enum class #else #define SCOPED_ENUM enum