1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

FIO: Fix large file support on Linux AND Android platforms correctly

As discussed in #564
This commit is contained in:
Mark Pizzolato
2018-05-15 06:50:27 -07:00
parent caee890727
commit 13b4f6563f
2 changed files with 2 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ extern "C" {
#define fxread(a,b,c,d) sim_fread (a, b, c, d)
#define fxwrite(a,b,c,d) sim_fwrite (a, b, c, d)
#if ((defined (__linux) || defined (__linux__)) && (!defined (__ANDROID_API__) || (__ANDROID_API__ < 24)))
#if ((defined (__linux) || defined (__linux__)) && (defined (__ANDROID_API__) && (__ANDROID_API__ < 24)))
#define DONT_DO_LARGEFILE 1
#endif
int32 sim_finit (void);