mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support crossbuild for hisiv500. v5.0.40
This commit is contained in:
parent
d885d574e4
commit
a842c6c32a
8 changed files with 21 additions and 11 deletions
|
@ -44,6 +44,13 @@ using namespace std;
|
|||
#endif
|
||||
#endif
|
||||
|
||||
// These functions first appeared in glibc in version 2.12.
|
||||
// See https://man7.org/linux/man-pages/man3/pthread_setname_np.3.html
|
||||
#if defined(SRS_CROSSBUILD) && ((__GLIBC__ < 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 12))
|
||||
void pthread_setname_np(pthread_t trd, const char* name) {
|
||||
}
|
||||
#endif
|
||||
|
||||
extern ISrsLog* _srs_log;
|
||||
extern ISrsContext* _srs_context;
|
||||
extern SrsConfig* _srs_config;
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
|
||||
#define VERSION_MAJOR 5
|
||||
#define VERSION_MINOR 0
|
||||
#define VERSION_REVISION 39
|
||||
#define VERSION_REVISION 40
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue