Skip to content

Commit

Permalink
Linux GCC build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
juj committed May 14, 2020
1 parent e5c40b8 commit d50f894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Math/MathFunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ bool AssumeFailed()
DebugBreak();
#elif defined(__EMSCRIPTEN__)
emscripten_debugger();
#elif __has_builtin(__builtin_debugtrap)
#elif defined(__clang__) && __has_builtin(__builtin_debugtrap)
__builtin_debugtrap();
#endif
}
Expand Down

0 comments on commit d50f894

Please sign in to comment.