Commit 6cd0a90b authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Instead of checking the off_t size, we use the source dir version of the

curl.h header and then check for the size of the curl_off_t type.
parent d5bb877f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -901,7 +901,10 @@ AC_C_CONST
AC_TYPE_SIZE_T
AC_HEADER_TIME

AC_CHECK_SIZEOF(off_t)
AC_CHECK_SIZEOF(curl_off_t, ,[
#include <stdio.h>
#include "$srcdir/include/curl/curl.h"
])

AC_CHECK_TYPE(long long,
   [AC_DEFINE(HAVE_LONGLONG, 1, [if your compiler supports 'long long'])])