Skip to content

Commit

Permalink
curl_endian: Fixed build when 64-bit integers are not supported (Part 2)
Browse files Browse the repository at this point in the history
Missed Curl_read64_be() in commit bb12d44 :(
  • Loading branch information
captain-caveman2k committed Jan 16, 2015
1 parent b2c01f0 commit a2f8887
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/curl_endian.c
Expand Up @@ -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()
*
Expand Down Expand Up @@ -173,6 +174,8 @@ unsigned __int64 Curl_read64_be(unsigned char *buf)
}
#endif

#endif /* CURL_SIZEOF_CURL_OFF_T > 4 */

/*
* Curl_write16_le()
*
Expand Down

0 comments on commit a2f8887

Please sign in to comment.