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

For #2815: Extract macros and headers for platform.

This commit is contained in:
winlin 2021-12-26 17:50:19 +08:00
parent 716e578a19
commit 13103ec7d5
5 changed files with 56 additions and 34 deletions

View file

@ -19,11 +19,6 @@
#include <iomanip>
using namespace std;
// For CentOS 6 or C++98, @see https://github.com/ossrs/srs/issues/2815
#ifndef UINT32_MAX
#define UINT32_MAX (4294967295U)
#endif
#define SRS_MP4_EOF_SIZE 0
#define SRS_MP4_USE_LARGE_SIZE 1