summaryrefslogtreecommitdiff
path: root/games/exchess/patches/patch-ac
blob: aaa1ef6f38e6865fc21fca7df47d247d7ddbcaa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-ac,v 1.1.1.1 2000/10/25 08:40:00 jlam Exp $

--- define.h.orig	Sun Apr 30 10:02:28 2000
+++ define.h
@@ -4,25 +4,26 @@
 #ifndef DEFINE_H
 #define DEFINE_H
 
+#include <inttypes.h>
+
 #define VERS  3.14              // program version number
 #define MAXD  60                // max search depth
 #define MATE 10000000           // mate score
 
 // Compiler flags for different systems
-#define BORLAND  1      // Selects a win95/NT compiler if set to 1
+#define BORLAND  0      // Selects a win95/NT compiler if set to 1
                         //   this should work with MSVC and others as
                         //   well
 #define DEC      0      // Set to 1 for certain DEC Unix systems, not
                         //   all will need it - some other unixes may
                         //   need this if there are errors in "book.cpp"
-#define UNIX     0      // Set to 1 for all Unix systems
+#define UNIX     1      // Set to 1 for all Unix systems
 #define DOS      0      // Set to 1 for Auto232 DOS mode
 #define DEBUG    0      // Set to 1 to debug mode... quite slow
 
 // define 64 bit integers
 #if !BORLAND
- #define __int64 long long
- #define ZERO 0ULL
+ #define ZERO 0
 #else
  #define ZERO 0ui64
 #endif