Limit unroll to GCC 8

This commit is contained in:
Lior Halphon 2020-04-25 14:46:01 +03:00
parent c2a395006e
commit 1e7737a239

View File

@ -35,7 +35,7 @@
#ifdef GB_INTERNAL #ifdef GB_INTERNAL
#if __clang__ #if __clang__
#define UNROLL _Pragma("unroll") #define UNROLL _Pragma("unroll")
#elif __GNUC__ #elif __GNUC__ >= 8
#define UNROLL _Pragma("GCC unroll 8") #define UNROLL _Pragma("GCC unroll 8")
#else #else
#define UNROLL #define UNROLL