version 1.4.30b
[polyglot.git] / move.h
diff --git a/move.h b/move.h
index b6e7081..c83f155 100644 (file)
--- a/move.h
+++ b/move.h
@@ -9,15 +9,16 @@
 #include "board.h"\r
 #include "util.h"\r
 \r
-// constants\r
+// defined\r
 \r
-const int MoveNone = 0; // HACK: a1a1 cannot be a legal move\r
+// HACK: a1a1 cannot be a legal move\r
+#define MoveNone (0) \r
 \r
-const int MovePromoteKnight = 1 << 12;\r
-const int MovePromoteBishop = 2 << 12;\r
-const int MovePromoteRook   = 3 << 12;\r
-const int MovePromoteQueen  = 4 << 12;\r
-const int MoveFlags         = 7 << 12;\r
+#define MovePromoteKnight  (1 << 12)\r
+#define MovePromoteBishop  (2 << 12)\r
+#define MovePromoteRook    (3 << 12)\r
+#define MovePromoteQueen   (4 << 12)\r
+#define MoveFlags          (7 << 12)\r
 \r
 // types\r
 \r