Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix windows clang-cl build error #399
This fix build error: constexpr variable 'strnlen' must be initialized by a constant expression. The reason for the error is that __STDC_LIB_EXT1__ is defined in MSVC but undefined in clang-cl.exe, and strnlen() seems incompatible with constexpr.
- Loading branch information