pkgsrc/games/exchess/patches/patch-ac

35 lines
1.2 KiB
Text

$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