GNUC define fix

v1
Brett 2024-02-22 15:54:52 -05:00
parent e9a11a9a7e
commit 384529333c
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ namespace blt
return ((seed * (seed * seed * 15731 + 789221) + 1376312589) & 0x7fffffff); return ((seed * (seed * seed * 15731 + 789221) + 1376312589) & 0x7fffffff);
} }
#ifdef __GCC__ #ifdef __GNUC__
#pragma GCC diagnostic push #pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wstrict-aliasing" #pragma GCC diagnostic ignored "-Wstrict-aliasing"
#endif #endif
@ -53,7 +53,7 @@ namespace blt
return y; return y;
} }
#ifdef __GCC #ifdef __GNUC__
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
#endif #endif