From 384529333c0f46ef76dced3d78769250d3e227e6 Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 22 Feb 2024 15:54:52 -0500 Subject: [PATCH] GNUC define fix --- include/blt/math/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/blt/math/math.h b/include/blt/math/math.h index 22d59e2..0882199 100644 --- a/include/blt/math/math.h +++ b/include/blt/math/math.h @@ -31,7 +31,7 @@ namespace blt return ((seed * (seed * seed * 15731 + 789221) + 1376312589) & 0x7fffffff); } -#ifdef __GCC__ +#ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wstrict-aliasing" #endif @@ -53,7 +53,7 @@ namespace blt return y; } -#ifdef __GCC +#ifdef __GNUC__ #pragma GCC diagnostic pop #endif