1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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
This commit is contained in:
Daniel Stenberg 2017-04-04 13:50:03 +02:00
parent 6193770ee1
commit 81284374bf

View File

@ -5,7 +5,7 @@
# | (__| |_| | _ <| |___ # | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____| # \___|\___/|_| \_\_____|
# #
# Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. # Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
# #
# This software is licensed as described in the file COPYING, which # This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms # 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]) AC_MSG_CHECKING([for 64-bit curl_off_t data type])
for t8 in \ for t8 in \
"$x_LP64_long" \ "$x_LP64_long" \
'long long' \
'int64_t' \ 'int64_t' \
'__int64' \ '__int64' \
'long long' \
'__longlong' \ '__longlong' \
'__longlong_t' ; do '__longlong_t' ; do
DO_CURL_OFF_T_CHECK([$t8], [8]) DO_CURL_OFF_T_CHECK([$t8], [8])