# HG changeset patch # User Petter # Date 1696635236 -7200 # Sat Oct 07 01:33:56 2023 +0200 # Node ID 57b6f8c155c4d3a716b48226dac29c3cc8c9427c # Parent e3c66ad996525a71d8b05a4b1462d8f0d7eee323 Make Octave buildable on Debian 32bit Use long in file_time(), since octave_gettimeofday_wrapper() expects *long, and time_t is long long on e.g. Debian 32bit which wont compile. * liboctave/system/oct-time.cc: time_t -> long diff -r e3c66ad99652 -r 57b6f8c155c4 liboctave/system/oct-time.cc --- a/liboctave/system/oct-time.cc Sun Oct 01 17:56:33 2023 +0200 +++ b/liboctave/system/oct-time.cc Sat Oct 07 01:33:56 2023 +0200 @@ -382,7 +382,7 @@ | curr_file_time.dwLowDateTime; #else time_t ot_unix_time; - time_t ot_usec; + long ot_usec; octave_gettimeofday_wrapper (&ot_unix_time, &ot_usec); // Discard usec. We are assuming a 1 second resolution anyway. m_time = ot_unix_time;