mirror of
https://github.com/arun11299/cpp-jwt.git
synced 2025-05-14 16:58:34 +00:00
fix clang-cl build on windows
This commit is contained in:
parent
d8197361fe
commit
8841837fe4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue