From 2d80b03666a995a44d30b86ae834ad7ace73eae0 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 30 Nov 2004 16:54:03 +0000 Subject: [PATCH] If seeko() is not available use long int for off_t. --- src/ChangeLog | 6 ++++++ src/flip.c | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 4de5e09b..fceb26f2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +Tue Nov 30 08:47:41 2004 Ben Pfaff + + * flip.c: (flip_file) If fseeko() is not available, use long int + for off_t. Thanks to "Marshall DeBerry" for + reporting the problem. + Mon Nov 29 12:20:59 WST 2004 John Darrington * examine.q factor_stats.[ch] Changed stderr to se_mean to avoid diff --git a/src/flip.c b/src/flip.c index b4f908df..2ded1ed3 100644 --- a/src/flip.c +++ b/src/flip.c @@ -416,6 +416,10 @@ flip_file (struct flip_pgm *flip) #ifndef HAVE_FSEEKO #define fseeko fseek + +#ifndef off_t +#define off_t long int +#endif #endif if (fseeko (output_file, -- 2.30.2