From: Ben Pfaff Date: Tue, 30 Nov 2004 16:54:03 +0000 (+0000) Subject: If seeko() is not available use long int for off_t. X-Git-Tag: v0.4.0~217 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d80b03666a995a44d30b86ae834ad7ace73eae0;p=pspp-builds.git If seeko() is not available use long int for off_t. --- 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,