mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-09-19 12:06:07 +08:00
Don't include emmintrin.h if SSE2 is not enabled (bug 3765, r=dvander).
This commit is contained in:
@ -30,9 +30,13 @@
|
||||
#include <stdlib.h>
|
||||
|
||||
// For MMX intrinsics
|
||||
#include <emmintrin.h>
|
||||
#ifdef _LINUX
|
||||
#ifdef __SSE2__ // Recent versions of emmintrin.h error out with SSE2 disabled.
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
#include <xmmintrin.h>
|
||||
#else
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
|
||||
#include "tier0/dbg.h"
|
||||
|
Reference in New Issue
Block a user