summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-04-04 13:50:03 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-04-04 13:50:03 +0200
commitf3d0a0c1baa95b40cefaba7f9f3647745a6b94e8 (patch)
tree71f3de0011fda4dc8480cb990d363796298b0a54
parenta68ca63d7313dcc266f92108b2694d43b0afeba7 (diff)
downloadcurl-bagder/configure-preferlonglong.tar.gz
configure: prefer 'long long' to int64_t for curl_off_tbagder/configure-preferlonglong
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
-rw-r--r--acinclude.m44
1 files 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, <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
# 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])