freebsd-ports/games/polyglot/files/patch-pgheader.c
Nicola Vitale 8d86d65496 PolyGlot is a "UCI adapter". It connects a UCI chess engine to an
xboard interface.

PolyGlot tries to solve known problems with other adapters.  For
instance, it detects and reports draws by fifty-move rule, repetition,
etc...

WWW: http://wbec-ridderkerk.nl/html/details1/PolyGlot.html
2014-01-13 05:01:34 +00:00

18 lines
395 B
C

--- ./pgheader.c.orig 2012-09-20 13:50:00.000000000 +0200
+++ ./pgheader.c 2014-01-11 04:44:10.000000000 +0100
@@ -47,13 +47,13 @@
#ifndef WIN32
#define O_BINARY 0x0
#endif
-
+/*
#ifdef _MSC_VER
typedef unsigned __int64 uint64_t;
#else
typedef unsigned long long int uint64_t;
#endif
-
+*/
static int int_from_file(FILE *f, int l, uint64_t *r){
int i,c;
for(i=0;i<l;i++){