opnsense-ports/games/polyglot/files/patch-pgheader.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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++){