diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-08 12:30:56 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-11 10:11:56 +0100 |
commit | 78f642ffab9a703bb23e4d9ddb1abe582f14eb62 (patch) | |
tree | 8b2d24c24f34dc1968dedcb612f81349960d4ce7 /lib/curl_endian.h | |
parent | 6043dfa4f9471cf4f5da2492670aff26b16a94ab (diff) | |
download | curl-78f642ffab9a703bb23e4d9ddb1abe582f14eb62.tar.gz |
config: remove CURL_SIZEOF_CURL_OFF_T use only SIZEOF_CURL_OFF_T
Make the code consistently use a single name for the size of the
"curl_off_t" type.
Closes #6702
Diffstat (limited to 'lib/curl_endian.h')
-rw-r--r-- | lib/curl_endian.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_endian.h b/lib/curl_endian.h index 341dfaf3c..4e12d7da4 100644 --- a/lib/curl_endian.h +++ b/lib/curl_endian.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2021, 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 @@ -31,7 +31,7 @@ unsigned int Curl_read32_le(const unsigned char *buf); /* Converts a 16-bit integer from big endian */ unsigned short Curl_read16_be(const unsigned char *buf); -#if (CURL_SIZEOF_CURL_OFF_T > 4) +#if (SIZEOF_CURL_OFF_T > 4) /* Converts a 64-bit integer to little endian */ #if defined(HAVE_LONGLONG) void Curl_write64_le(const long long value, unsigned char *buffer); |