1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1096277
--- acme-0.97~svn20211115+ds.orig/contrib/toacme/src/config.h
+++ acme-0.97~svn20211115+ds/contrib/toacme/src/config.h
@@ -7,15 +7,15 @@
#ifndef config_H
#define config_H
+#include <stdbool.h>
// constants
#define SPACE 0x20
#define SHIFTSPACE 0xa0
#ifndef FALSE
-typedef int bool;
-#define FALSE 0
-#define TRUE 1
+#define FALSE false
+#define TRUE true
#endif
|