Skip to content

Commit

Permalink
Ensure compilation with gcc
Browse files Browse the repository at this point in the history
Since gcc lacks support for vector builtins/the ext_vector_type attribute,
incorporate the polyfill already utilized by the MSVC target

Fixes https://github.com/rive-app/rive-cpp/issues/360
  • Loading branch information
BertholdKrevert committed Aug 29, 2023
1 parent ffb3fe7 commit 1745c81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rive/math/simd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
static_assert(std::numeric_limits<float>::is_iec559,
"Conformant IEEE 754 behavior for NaN and Inf is required.");

#if defined(__clang__) || defined(__GNUC__)
#if defined(__clang__)

namespace rive
{
Expand Down

0 comments on commit 1745c81

Please sign in to comment.