From: Steve Holme Date: Fri, 16 Jan 2015 23:01:27 +0000 (+0000) Subject: curl_endian: Fixed build when 64-bit integers are not supported (Part 2) X-Git-Tag: curl-7_41_0~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a2f8887b7914ebb8d17dea1a5a97520e2fd2330a;p=thirdparty%2Fcurl.git curl_endian: Fixed build when 64-bit integers are not supported (Part 2) Missed Curl_read64_be() in commit bb12d44471 :( --- diff --git a/lib/curl_endian.c b/lib/curl_endian.c index eb536dea62..bcd66ed84b 100644 --- a/lib/curl_endian.c +++ b/lib/curl_endian.c @@ -138,6 +138,7 @@ unsigned int Curl_read32_be(unsigned char *buf) ((unsigned int)buf[2] << 8) | ((unsigned int)buf[3]); } +#if (CURL_SIZEOF_CURL_OFF_T > 4) /* * Curl_read64_be() * @@ -173,6 +174,8 @@ unsigned __int64 Curl_read64_be(unsigned char *buf) } #endif +#endif /* CURL_SIZEOF_CURL_OFF_T > 4 */ + /* * Curl_write16_le() *