#include "square.h"\r
#include "util.h"\r
\r
-// constants\r
+// defines\r
\r
-const int Empty = 0;\r
-\r
-const int SideH = 0;\r
-const int SideA = 1;\r
-const int SideNb = 2;\r
+#define Empty 0\r
+#define SideH 0\r
+#define SideA 1\r
+#define SideNb 2\r
\r
// types\r
\r
-struct board_t {\r
+typedef struct {\r
\r
uint8 square[SquareNb];\r
sint8 pos[SquareNb];\r
sint16 move_nb;\r
\r
uint64 key;\r
-};\r
+} board_t;\r
\r
// functions\r
\r