summaryrefslogtreecommitdiff
path: root/src/script.c
diff options
context:
space:
mode:
authorScott Gasch <[email protected]>2026-09-20 10:20:16 -0700
committerScott Gasch <[email protected]>2026-09-20 10:20:16 -0700
commit48a958fb6e14607a68067a09b4a4cb576bf6b742 (patch)
tree8951c83088995df8c3e5efe328634478c27ba5b4 /src/script.c
parent8c0d66f13f08cb5e760d787a878260ad67d17c13 (diff)
INFINITY -> INFINITY_SCORE to not collide with math.h.
Diffstat (limited to 'src/script.c')
-rw-r--r--src/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.c b/src/script.c
index 57145a6..532a0d5 100644
--- a/src/script.c
+++ b/src/script.c
@@ -24,8 +24,8 @@ Revision History:
#include "chess.h"
// Declared directly instead of #include <math.h> -- that header #defines
-// its own INFINITY, which collides with ours (chess.h:198, MAX_SHORT) and
-// would silently change what INFINITY means for the rest of this file.
+// its own INFINITY_SCORE, which collides with ours (chess.h:198, MAX_SHORT) and
+// would silently change what INFINITY_SCORE means for the rest of this file.
extern double pow(double, double);
// ----------------------------------------------------------------------