Closed hikarin522 closed 4 years ago
@Naios
A compile error will occur if "__has_builtin" is not defined.
Fixed macro check for "__has_builtin".
In which cases is __builtin_unreachable and __builtin_trap not defined for the currently supported GCC and Clang versions?
__builtin_unreachable
__builtin_trap
g++-4.9 -std=gnu++1y
@Naios
What was a problem?
A compile error will occur if "__has_builtin" is not defined.
How this PR fixes the problem?
Fixed macro check for "__has_builtin".