diff options
| author | Nicky <sl.nicky.ml@googlemail.com> | 2016-04-22 12:59:41 +0200 | 
|---|---|---|
| committer | Nicky <sl.nicky.ml@googlemail.com> | 2016-04-22 12:59:41 +0200 | 
| commit | 637dc1f5a98e1c6cc6eecfb476ab1c20dca0c6aa (patch) | |
| tree | 612ad339a72b9f317372055284f23736f4fae508 /indra/llmath | |
| parent | 056f0983029000041555ca53c61cbe5e8689cae9 (diff) | |
Windows x64: 64 bit implies SSE2, handle this accordingly when detecting if SSE2 is enabled.
(transplanted from 93492b84cb752dc79c74d9667f11edd76ace8f0b)
Diffstat (limited to 'indra/llmath')
| -rw-r--r-- | indra/llmath/llsimdmath.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/indra/llmath/llsimdmath.h b/indra/llmath/llsimdmath.h index cebd2ace7d..9f078ec1ef 100644 --- a/indra/llmath/llsimdmath.h +++ b/indra/llmath/llsimdmath.h @@ -31,7 +31,7 @@  #error "Please include llmath.h before this file."  #endif -#if ( ( LL_DARWIN || LL_LINUX ) && !(__SSE2__) ) || ( LL_WINDOWS && ( _M_IX86_FP < 2 ) ) +#if ( ( LL_DARWIN || LL_LINUX ) && !(__SSE2__) ) || ( LL_WINDOWS && ( _M_IX86_FP < 2 && !_M_AMD64 ) )  #error SSE2 not enabled. LLVector4a and related class will not compile.  #endif | 
