arun11299 / cpp-jwt

JSON Web Token library for C++
MIT License
396 stars 111 forks source link

fix clang-cl build on windows #57

Closed LanderN closed 4 years ago

LanderN commented 4 years ago

The current "hack" to fix MSVC builds and work around error C3431 prevents building with clang-cl on Windows.

This PR adds an extra check that will only activate the hack if the compiler is not clang.