configure.ac : Make TYPEOF_SF_COUNT_T int64_t where possible.

This commit is contained in:
Erik de Castro Lopo 2010-11-01 21:05:22 +11:00
parent 49ba958dd6
commit ba3ca03df2
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
people are compiling on a 64 bit system with the GCC -m32 flag.
2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/aiff.c

View File

@ -174,7 +174,7 @@ case "$host_os" in
*)
if test "x$ac_cv_sizeof_off_t" = "x8" ; then
# If sizeof (off_t) is 8, no further checking is needed.
TYPEOF_SF_COUNT_T="off_t"
TYPEOF_SF_COUNT_T="int64_t"
SF_COUNT_MAX="0x7FFFFFFFFFFFFFFFLL"
SIZEOF_SF_COUNT_T=8
else
@ -184,10 +184,10 @@ case "$host_os" in
TYPEOF_SF_COUNT_T="unknown"
if test "x$ac_cv_sizeof_loff_t" = "x8" ; then
TYPEOF_SF_COUNT_T="loff_t"
TYPEOF_SF_COUNT_T="int64_t"
SIZEOF_SF_COUNT_T=8
elif test "x$ac_cv_sizeof_off64_t" = "x8" ; then
TYPEOF_SF_COUNT_T="off64_t"
TYPEOF_SF_COUNT_T="int64_t"
SIZEOF_SF_COUNT_T=8
fi