mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
simplify checks for enabling SSE2 code
also fixes build issues under vs11 which has a native arm compiler for windows 8 targets Change-Id: Id76c2deae9fc9de147d13ad0d34edffcb5a726c4
This commit is contained in:
@ -9,7 +9,9 @@
|
||||
//
|
||||
// Author: Christian Duvivier (cduvivier@google.com)
|
||||
|
||||
#if defined(__SSE2__) || defined(_MSC_VER)
|
||||
#include "./dsp.h"
|
||||
|
||||
#if defined(WEBP_USE_SSE2)
|
||||
#include <emmintrin.h>
|
||||
|
||||
#include "../enc/vp8enci.h"
|
||||
@ -831,4 +833,4 @@ void VP8EncDspInitSSE2(void) {
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif //__SSE2__
|
||||
#endif // WEBP_USE_SSE2
|
||||
|
Reference in New Issue
Block a user