From 81284374bf3c670d2050f8562edeb69f060b07cc Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 4 Apr 2017 13:50:03 +0200 Subject: [PATCH] configure: prefer 'long long' to int64_t for curl_off_t Since it is a native type and it makes it less complicated to find a matching one in system.h Bug: https://curl.haxx.se/mail/lib-2017-04/0010.html Reported-by: Dan Fandrich Closes #1388 --- acinclude.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 2abae8d8a..c988f2f31 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -5,7 +5,7 @@ # | (__| |_| | _ <| |___ # \___|\___/|_| \_\_____| # -# Copyright (C) 1998 - 2016, Daniel Stenberg, , et al. +# Copyright (C) 1998 - 2017, Daniel Stenberg, , et al. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms @@ -2907,9 +2907,9 @@ AC_DEFUN([CURL_CONFIGURE_CURL_OFF_T], [ AC_MSG_CHECKING([for 64-bit curl_off_t data type]) for t8 in \ "$x_LP64_long" \ + 'long long' \ 'int64_t' \ '__int64' \ - 'long long' \ '__longlong' \ '__longlong_t' ; do DO_CURL_OFF_T_CHECK([$t8], [8])