From 56f3a9733d916ee8ba2c27149f394e8417c9ccd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sun, 6 Apr 2014 15:04:37 +0200 Subject: [PATCH] Add guards to fast_matrix_sse.c --- math/fast/fast_matrix_sse.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/math/fast/fast_matrix_sse.c b/math/fast/fast_matrix_sse.c index 2bc945e4a9..9472194488 100644 --- a/math/fast/fast_matrix_sse.c +++ b/math/fast/fast_matrix_sse.c @@ -1,3 +1,5 @@ +#if defined(_M_IX86) || defined(_M_X64) + #include #include "fast_matrix.h" @@ -17,3 +19,5 @@ void fast_matrix_mul_4x4_sse(float *dest, const float *a, const float *b) { _mm_storeu_ps(&dest[i], r_col); } } + +#endif \ No newline at end of file