From bc40f6abdeed5355877deceddd9e54e3494d9971 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 5 Mar 2013 12:15:29 -0800 Subject: [PATCH] Removed recently linked dependence of VHD support on Large File support. VHDs can be supported without large file support up to the limits a system without large file support (i.e. 2GB). Fixes issue #35 --- sim_disk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim_disk.c b/sim_disk.c index c8833c9d..bab624f3 100644 --- a/sim_disk.c +++ b/sim_disk.c @@ -1335,7 +1335,7 @@ return SCPE_OK; sta = status code */ -t_stat sim_disk_pdp11_bad_block (UNIT *uptr, int32 sec) +static t_stat sim_disk_pdp11_bad_block (UNIT *uptr, int32 sec) { struct disk_context *ctx = (struct disk_context *)uptr->disk_ctx; int32 i; @@ -1864,7 +1864,7 @@ _set_errno_from_status (GetLastError ()); return SCPE_IOERR; } -#elif defined (__linux) || defined (__linux__) || defined (__sun__) +#elif defined (__linux) || defined (__linux__) || defined (__sun__) || defined (__hpux) #include #include @@ -2721,7 +2721,7 @@ struct VHD_IOData { static t_stat sim_vhd_disk_implemented (void) { -return sim_taddr_64 ? SCPE_OK : SCPE_NOFNC; +return SCPE_OK; } static t_stat sim_vhd_disk_set_dtype (FILE *f, const char *dtype)