From e9d21ba941a52665d7ad2ee3483c6ac7b7ec6486 Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Mon, 20 Dec 2010 15:09:15 -0600 Subject: Fix for windows build. Reviewed by Nyx. --- indra/llmath/llsimdmath.h | 2 ++ indra/llmath/llvolume.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/indra/llmath/llsimdmath.h b/indra/llmath/llsimdmath.h index b6ac5190a7..c7cdf7b32c 100644 --- a/indra/llmath/llsimdmath.h +++ b/indra/llmath/llsimdmath.h @@ -35,7 +35,9 @@ #error SSE2 not enabled. LLVector4a and related class will not compile. #endif +#if !LL_WINDOWS #include +#endif template T* LL_NEXT_ALIGNED_ADDRESS(T* address) { diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index c0b50b606e..8a7b19800c 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -29,7 +29,9 @@ #include "llmath.h" #include +#if !LL_WINDOWS #include +#endif #include "llerror.h" #include "llmemtype.h" -- cgit v1.2.3