diff --git a/simgear/math/simd.hxx b/simgear/math/simd.hxx index 35508b7b..81782efa 100644 --- a/simgear/math/simd.hxx +++ b/simgear/math/simd.hxx @@ -504,7 +504,7 @@ inline simd4_tabs(simd4_t v) { # endif -# ifdef __AVX__ +# ifdef __AVX_unsupported__ # include # include //# include diff --git a/simgear/math/simd4x4.hxx b/simgear/math/simd4x4.hxx index f27a4008..a199d5bb 100644 --- a/simgear/math/simd4x4.hxx +++ b/simgear/math/simd4x4.hxx @@ -514,7 +514,7 @@ inline simd4_t transform(const simd4x4_t& m, const simd # endif -# ifdef __AVX__ +# ifdef __AVX_unsupported__ # include # include //# include