aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-01-16 23:01:27 +0000
committerSteve Holme <steve_holme@hotmail.com>2015-01-16 23:01:27 +0000
commita2f8887b7914ebb8d17dea1a5a97520e2fd2330a (patch)
treef358e9108f7485b0afb6431775bda61ca14eb8d3
parentb2c01f02d55a6537b6771fe45abe750d484ee6a9 (diff)
curl_endian: Fixed build when 64-bit integers are not supported (Part 2)
Missed Curl_read64_be() in commit bb12d44471 :(
-rw-r--r--lib/curl_endian.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curl_endian.c b/lib/curl_endian.c
index eb536dea6..bcd66ed84 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()
*