From 617ee1c98e24d612dc3fb3445bee9164cacf35aa Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 27 Feb 2026 15:26:59 -0800 Subject: [PATCH] Update float.inc to work with the latest spcomp. (#2405) --- plugins/include/float.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/include/float.inc b/plugins/include/float.inc index 80824e85..b4b61b72 100644 --- a/plugins/include/float.inc +++ b/plugins/include/float.inc @@ -35,7 +35,7 @@ #endif #define _float_included -#if !defined __sourcepawn2__ +#if !defined __sourcepawn_intrinsic_float /** * Converts an integer into a floating point value. * @@ -274,7 +274,7 @@ stock int RoundFloat(float value) /** * User defined operators. */ -#if !defined __sourcepawn2__ +#if !defined __sourcepawn_intrinsic_float // Internal aliases for backwards compatibility. native float __FLOAT_MUL__(float a, float b); @@ -410,7 +410,7 @@ stock float operator%(int oper1, float oper2) { return __FLOAT_MOD__(float(oper1), oper2); } -#endif // __sourcepawn2__ +#endif // __sourcepawn_intrinsic_float #define FLOAT_PI 3.1415926535897932384626433832795