mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
windows
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user