mirror of
https://github.com/guezoloic/t3dsr.git
synced 2026-01-25 15:34:24 +00:00
fix: __restrict__ doesn't work on MSVC
This commit is contained in:
@@ -22,10 +22,8 @@
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#define ALIGN16 __declspec(align(16))
|
||||
#define RESTRICT __restrict__
|
||||
#else
|
||||
#define ALIGN16 __attribute__((aligned(16)))
|
||||
#define RESTRICT __restrict
|
||||
#endif
|
||||
|
||||
#endif // MCONFIG_H
|
||||
|
||||
Reference in New Issue
Block a user