configure: prefer 'long long' to int64_t for curl_off_t
authorDaniel Stenberg <daniel@haxx.se>
Tue, 4 Apr 2017 11:50:03 +0000 (13:50 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 Apr 2017 10:04:29 +0000 (12:04 +0200)
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

index 2abae8d8ad8f58220b55e54d876a775bd7bbb99c..c988f2f319df048ba8870b325cf8f4a276d6762f 100644 (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
 # 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])