gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 60/256: strtooff: fix build for systems with long l


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 60/256: strtooff: fix build for systems with long long but no strtoll option
Date: Fri, 06 Oct 2017 19:42:31 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 78b863de7dde9769938883ca810bea8bf0e4ddd9
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Aug 25 11:09:46 2017 +0200

    strtooff: fix build for systems with long long but no strtoll option
    
    Closes #1829
    
    Reported-by: Dan Fandrich
    Bug: https://github.com/curl/curl/pull/1758#issuecomment-324861615
---
 lib/strtoofft.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/lib/strtoofft.c b/lib/strtoofft.c
index 5e800b4e3..807fc5454 100644
--- a/lib/strtoofft.c
+++ b/lib/strtoofft.c
@@ -48,16 +48,14 @@
 #      endif
 #      define strtooff _strtoi64
 #    else
-       curl_off_t curlx_strtoll(const char *nptr, char **endptr, int base);
-#      define strtooff curlx_strtoll
-#      define NEED_CURL_STRTOLL 1
+#      define PRIVATE_STRTOOFF 1
 #    endif
 #  endif
 #else
 #  define strtooff strtol
 #endif
 
-#ifdef NEED_CURL_STRTOLL
+#ifdef PRIVATE_STRTOOFF
 
 /* Range tests can be used for alphanum decoding if characters are consecutive,
    like in ASCII. Else an array is scanned. Determine this condition now. */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]