aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()
*