Windows x64: 64 bit implies SSE2, handle this accordingly when detecting if SSE2 is enabled.

(transplanted from 93492b84cb752dc79c74d9667f11edd76ace8f0b)
master
Nicky 2016-04-22 12:59:41 +02:00
parent 056f098302
commit 637dc1f5a9
1 changed files with 1 additions and 1 deletions

View File

@ -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