]> iEval git - fdkaac.git/commitdiff
use fseeko64() on i686-pc-mingw32
authornu774 <honeycomb77@gmail.com>
Wed, 20 Feb 2013 01:29:12 +0000 (10:29 +0900)
committernu774 <honeycomb77@gmail.com>
Wed, 20 Feb 2013 01:29:12 +0000 (10:29 +0900)
configure.ac
src/compat.h

index fa9d58796b699a1f52951334eed82d229452e1dc..6fbe8c0cfc837d697d9c6c636ffbaa7f0de50917 100644 (file)
@@ -33,7 +33,7 @@ AC_CHECK_TYPES([ptrdiff_t])
 AC_SYS_LARGEFILE
 AC_CHECK_TYPES([struct __timeb64],[],[],[[#include <sys/timeb.h>]])
 AC_FUNC_FSEEKO
-AC_CHECK_FUNCS([sigaction gettimeofday nl_langinfo strdup _vscprintf])
+AC_CHECK_FUNCS([sigaction gettimeofday nl_langinfo _vscprintf fseeko64])
 AC_CHECK_FUNC(getopt_long)
 AM_CONDITIONAL([FDK_NO_GETOPT_LONG],[test "$ac_cv_func_getopt_long" != "yes"])
 AC_SEARCH_LIBS([aacEncOpen],[fdk-aac],[],[],[])
index 07deb5bf71d54efb3d96ccaae6a044fab2695db0..4f651abb5f7791aa7071f3c3ffbf8178b93d552b 100644 (file)
@@ -6,7 +6,10 @@
 #define COMPAT_H
 
 #ifndef HAVE_FSEEKO
-#  if _MSC_VER >= 1400
+#  if HAVE_FSEEKO64
+#    define fseeko fseeko64
+#    define ftello ftello64
+#  elif _MSC_VER >= 1400
 #    define fseeko _fseeki64
 #    define ftello _ftelli64
 #  else
This page took 0.028049 seconds and 4 git commands to generate.