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:
parent
b58ab508f9
commit
2eeb289c2f
4 changed files with 27 additions and 0 deletions
|
@ -53,6 +53,9 @@ void handler(int signo)
|
|||
int main(int argc, char** argv)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
// TODO: support both little and big endian.
|
||||
srs_assert(srs_is_little_endian());
|
||||
|
||||
#ifdef SRS_GPERF_MP
|
||||
HeapProfilerStart("gperf.srs.gmp");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue