mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 05:45:27 +00:00
Generalize the ALIGN macro
This commit is contained in:
parent
ca85a663a1
commit
2deb71eec9
|
@ -80,10 +80,11 @@
|
|||
#include <ctime>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define ALIGN_SSE __declspec( align(16) )
|
||||
#define ALIGN(x) __declspec( align(x) )
|
||||
#else
|
||||
#define ALIGN_SSE __attribute__((aligned(16)))
|
||||
#define ALIGN(x) __attribute__((aligned(x)))
|
||||
#endif
|
||||
#define ALIGN_SSE ALIGN(16)
|
||||
|
||||
// #define USE_PCA_FOR_SHAPE_ESTIMATION
|
||||
|
||||
|
|
Loading…
Reference in a new issue