More portability changes and cleanups. 86Box now also compiles (and runs) on FreeBSD 10.4-RELEASE.

This commit is contained in:
waltje
2017-10-27 04:54:45 -04:00
parent 0bbcac68d2
commit 77d695f430
11 changed files with 40 additions and 9 deletions

View File

@@ -18,6 +18,11 @@
/* Modified for use with PCem by bit */
//#ifdef FREEBSD
//# define fopen64 fopen
//# define fseeko64 fseeko
//# define ftello64 ftello
//#endif
#define _LARGEFILE_SOURCE
#define _LARGEFILE64_SOURCE
#ifdef WIN32
@@ -36,6 +41,7 @@
#include <sstream>
#include <vector>
#include <sys/stat.h>
#include "../plat.h"
#include "cdrom_dosbox.h"
#if !defined(WIN32)