mirror of https://github.com/nu774/fdkaac.git
use fseeko64() on i686-pc-mingw32
This commit is contained in:
parent
bd02d0e753
commit
70e912edba
|
@ -33,7 +33,7 @@ AC_CHECK_TYPES([ptrdiff_t])
|
||||||
AC_SYS_LARGEFILE
|
AC_SYS_LARGEFILE
|
||||||
AC_CHECK_TYPES([struct __timeb64],[],[],[[#include <sys/timeb.h>]])
|
AC_CHECK_TYPES([struct __timeb64],[],[],[[#include <sys/timeb.h>]])
|
||||||
AC_FUNC_FSEEKO
|
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)
|
AC_CHECK_FUNC(getopt_long)
|
||||||
AM_CONDITIONAL([FDK_NO_GETOPT_LONG],[test "$ac_cv_func_getopt_long" != "yes"])
|
AM_CONDITIONAL([FDK_NO_GETOPT_LONG],[test "$ac_cv_func_getopt_long" != "yes"])
|
||||||
AC_SEARCH_LIBS([aacEncOpen],[fdk-aac],[],[],[])
|
AC_SEARCH_LIBS([aacEncOpen],[fdk-aac],[],[],[])
|
||||||
|
|
|
@ -6,7 +6,10 @@
|
||||||
#define COMPAT_H
|
#define COMPAT_H
|
||||||
|
|
||||||
#ifndef HAVE_FSEEKO
|
#ifndef HAVE_FSEEKO
|
||||||
# if _MSC_VER >= 1400
|
# if HAVE_FSEEKO64
|
||||||
|
# define fseeko fseeko64
|
||||||
|
# define ftello ftello64
|
||||||
|
# elif _MSC_VER >= 1400
|
||||||
# define fseeko _fseeki64
|
# define fseeko _fseeki64
|
||||||
# define ftello _ftelli64
|
# define ftello _ftelli64
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Reference in New Issue