nem0 / OpenFBX

Lightweight open source FBX importer
MIT License
1.15k stars 135 forks source link

Fix build with Clang 12 #98

Closed jeongseok-meta closed 4 months ago

jeongseok-meta commented 4 months ago

Clang12 does not support std::bit_cast, so this change introduces a check for the std::bit_cast feature using the __cpp_lib_bit_cast macro, according to the documentation found at https://en.cppreference.com/w/cpp/feature_test