22 lines
648 B
Text
22 lines
648 B
Text
$NetBSD: patch-ab,v 1.2 2002/07/16 13:39:03 agc Exp $
|
|
|
|
--- chess.h.orig Sat Feb 19 11:28:46 2000
|
|
+++ chess.h Tue Jul 16 14:37:30 2002
|
|
@@ -3,6 +3,8 @@
|
|
#ifndef CHESS_H
|
|
#define CHESS_H
|
|
|
|
+#include <sys/types.h>
|
|
+
|
|
// move structure to encapsulate several important move parameters
|
|
// note: The char used below is treated like an integer.
|
|
|
|
@@ -86,7 +88,7 @@
|
|
// Structure for position in the opening book
|
|
|
|
struct book_rec {
|
|
- unsigned __int64 pos_code; // position hash code
|
|
+ u_int64_t pos_code; // position hash code
|
|
int score; // score for position
|
|
int gambit; // flag for gambit play
|
|
};
|