mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Use SSE2 intrinsics on x86
This commit is contained in:
parent
9d4c468f08
commit
4fa4537978
1 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,12 @@ If you have questions concerning this license or the applicable additional terms
|
|||
#ifndef __SYS_INTRIINSICS_H__
|
||||
#define __SYS_INTRIINSICS_H__
|
||||
|
||||
#if !defined(USE_INTRINSICS)
|
||||
#if defined(WIN32) || defined(__i386__) || defined(__x86_64__)
|
||||
#define USE_INTRINSICS
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(USE_INTRINSICS)
|
||||
#include <emmintrin.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue