This commit is contained in:
jed
2013-01-29 11:15:49 -08:00
parent 71d9b60b00
commit 90e98c4a86
2 changed files with 7 additions and 4 deletions

View File

@@ -318,7 +318,7 @@ uint64_t htobe64(uint64_t value)
uint64_t be64toh(uint64_t value)
{
return(value);
return(_byteswap_uint64(value));
}
uint32_t htobe32(uint32_t value)
@@ -326,7 +326,10 @@ uint32_t htobe32(uint32_t value)
return(htonl(value));
}
uint32_t be32toh(uint32_t value){ return(value); }
uint32_t be32toh(uint32_t value)
{
return( _byteswap_ulong(value));
}
#endif