1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: make it compile with gcc15
Index: indi-eqmod/align/chull/chull.c
===================================================================
--- indi-eqmod.orig/align/chull/chull.c 2025-09-25 09:15:13.283694393 +0200
+++ indi-eqmod/align/chull/chull.c 2025-09-25 09:31:29.564580422 +0200
@@ -26,7 +26,9 @@
#include <stdio.h>
/*Define Boolean type */
-typedef enum { FALSE, TRUE } bool;
+//bool is now part of c23: typedef enum { FALSE, TRUE } bool;
+#define TRUE true
+#define FALSE false
/* Define vertex indices. */
#define X 0
|