diff options
Diffstat (limited to 'games/exchess/patches/patch-ac')
-rw-r--r-- | games/exchess/patches/patch-ac | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/games/exchess/patches/patch-ac b/games/exchess/patches/patch-ac new file mode 100644 index 00000000000..aaa1ef6f38e --- /dev/null +++ b/games/exchess/patches/patch-ac @@ -0,0 +1,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 |