summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/crafty/files/crafty-23.4-64bits.patch')
-rw-r--r--games-board/crafty/files/crafty-23.4-64bits.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/games-board/crafty/files/crafty-23.4-64bits.patch b/games-board/crafty/files/crafty-23.4-64bits.patch
new file mode 100644
index 000000000000..9dc06a048819
--- /dev/null
+++ b/games-board/crafty/files/crafty-23.4-64bits.patch
@@ -0,0 +1,16 @@
+--- chess.h.old 2013-04-07 23:04:54.708245856 +0200
++++ chess.h 2013-04-07 23:05:20.052002160 +0200
+@@ -140,13 +140,7 @@
+ # define QUEEN_VALUE 1050
+ # define KING_VALUE 40000
+ # define MAX_DRAFT 256
+-# if defined(HAS_64BITS)
+-typedef unsigned long BITBOARD;
+-# elif defined(NT_i386)
+-typedef unsigned __int64 BITBOARD;
+-# else
+ typedef unsigned long long BITBOARD;
+-# endif
+ # if defined(NT_i386)
+ # define BMF "%I64u"
+ # define BMF6 "%6I64u"