1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

assert system is little-endian

This commit is contained in:
winlin 2014-03-19 10:38:02 +08:00
parent b58ab508f9
commit 2eeb289c2f
4 changed files with 27 additions and 0 deletions

View file

@ -99,6 +99,8 @@ extern void srs_update_system_time_ms();
extern std::string srs_replace(std::string str, std::string old_str, std::string new_str);
// dns resolve utility, return the resolved ip address.
extern std::string srs_dns_resolve(std::string host);
// whether system is little endian
extern bool srs_is_little_endian();
/**
* disable copy constructor of class