Author: Holger Jaekel Summary: under musl, off_t is always 64-bit ---- --- a/fitsio.h +++ b/fitsio.h @@ -86,16 +86,7 @@ /* Debian systems require: "(defined(linux) && defined(__off_t_defined))" */ /* the mingw-w64 compiler requires: "(defined(__MINGW32__) && defined(_OFF_T_DEFINED))" */ -#if defined(_OFF_T) \ - || (defined(linux) && defined(__off_t_defined)) \ - || (defined(__MINGW32__) && defined(_OFF_T_DEFINED)) \ - || defined(_MIPS_SZLONG) || defined(__APPLE__) || defined(_AIX) -# define OFF_T off_t -#elif defined(__BORLANDC__) || (defined(_MSC_VER) && (_MSC_VER>= 1400)) -# define OFF_T long long -#else -# define OFF_T long -#endif +#define OFF_T off_t /* this block determines if the the string function name is strtol or strtoll, and whether to use %ld or %lld in printf statements */