fix: __restrict__ doesn't work on MSVC

This commit is contained in:
2025-06-21 22:20:38 +02:00
parent 3415dc15a3
commit 8fcf32778e
3 changed files with 10 additions and 12 deletions

View File

@@ -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