compile on windows

This commit is contained in:
jed
2012-07-18 17:38:51 -07:00
parent 5e5e2a64b2
commit e0656fd63b
2 changed files with 9 additions and 0 deletions

View File

@@ -204,6 +204,13 @@ uint64_t be64toh(uint64_t value)
return(value);
}
uint32_t htobe32(uint32_t value)
{
return(htonl(value));
}
uint32_t be32toh(uint32_t value){ return(value); }
#endif
// vim:ts=4