src/game.h

changeset 80
b980a7192b5a
parent 78
ceb9197b3c6d
child 83
ead00609e5e6
--- a/src/game.h	Tue Jun 03 08:43:17 2025 +0200
+++ b/src/game.h	Wed Jun 04 23:56:40 2025 +0200
@@ -31,6 +31,7 @@
 #define	GAME_H
 
 #include "chess/game-info.h"
+#include <stdbool.h>
 
 #ifdef	__cplusplus
 extern "C" {
@@ -42,8 +43,8 @@
     char* serverhost; /* NULL, if we are about to start a server */
     char* continuepgn;
     char* analyzepgn;
-    _Bool singlemachine;
-    _Bool unicode;
+    bool singlemachine;
+    bool unicode;
 } Settings;
 
 #define is_server(settings) !((settings)->serverhost)

mercurial