mirror of
https://github.com/curl/curl.git
synced 2026-07-26 06:57:16 +03:00
The size of long is a build time characteristic and as such it is now recorded
in curlbuild.h as CURL_SIZEOF_LONG. Definition now done from configure process and in CVS curlbuild.h.dist for non-configure systems.
This commit is contained in:
parent
64e3a091c3
commit
feb03e4717
10 changed files with 127 additions and 34 deletions
|
|
@ -1387,7 +1387,7 @@ static int str2num(long *val, const char *str)
|
|||
*/
|
||||
static int str2offset(curl_off_t *val, const char *str)
|
||||
{
|
||||
#if (CURL_SIZEOF_CURL_OFF_T > SIZEOF_LONG)
|
||||
#if (CURL_SIZEOF_CURL_OFF_T > CURL_SIZEOF_LONG)
|
||||
/* Ugly, but without going through a bunch of rigmarole, we don't have the
|
||||
* definitions for LLONG_{MIN,MAX} or LONG_LONG_{MIN,MAX}.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue