1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
srs/trunk
terrencetang2023 5b31225d7c
Build: Check __GLIBC__ for OpenHarmony to fix build fail. v6.0.83 (#3777)
When I compile on OpenHarmony, I encounter an error at the
pthread_setname_np function:
```
./src/app/srs_app_threads.cpp:53:10: error: functions that differ only in their return type cannot be overloaded
void pthread_setname_np(pthread_t trd, const char* name) {
/data/local/ohos-sdk/linux/native/llvm/bin/../../sysroot/usr/include/pthread.h:379:5: note: previous declaration is here
int pthread_setname_np(pthread_t, const char *);
```

Our libc is using musl-libc and has no defined __GLIBC__, so we wanted
to add a judgment that __GLIBC__ already defined.
2023-09-22 09:44:29 +08:00
..
3rdparty Upgrade libsrt to v1.5.3. v5.0.183 v6.0.81 (#3808) 2023-09-21 22:23:56 +08:00
auto Build: Support sys-ssl for srt. v5.0.184 v6.0.82 (#3806) 2023-09-21 23:04:38 +08:00
conf Fix RBSP issue, where 0x03 should be removed. v5.0.178 v6.0.75 (#3597) 2023-09-09 08:58:38 +08:00
doc Build: Check __GLIBC__ for OpenHarmony to fix build fail. v6.0.83 (#3777) 2023-09-22 09:44:29 +08:00
etc/init.d Squash: Fix bugs 2022-01-13 18:26:28 +08:00
gdb The identifier "ShowCouroutines" needs to be modified to "ShowCoroutines" in order to rectify the typographical error. v6.0.63 (#3703) 2023-07-27 08:12:39 +08:00
ide/srs_clion Merge branch v5.0.103 into develop 2022-12-03 21:15:22 +08:00
modules Moduels: Refine the description 2021-04-21 11:18:35 +08:00
packaging Windows: Refine cygwin pipeline (#3260) 2022-11-21 14:32:26 +08:00
research WebRTC: Support WHEP for play. v5.0.182 v6.0.80 (#3404) 2023-09-21 18:41:33 +08:00
scripts Package script support extra options. v5.0.102 2022-12-03 18:56:21 +08:00
src Build: Check __GLIBC__ for OpenHarmony to fix build fail. v6.0.83 (#3777) 2023-09-22 09:44:29 +08:00
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
.gitignore For #2136: API: Cleanup no active streams for statistics. v5.0.42 2022-08-19 19:45:19 +08:00
AUTHORS.md TOC: Welcome to the new TOC member, ZhangJunqin. (#3579) 2023-06-13 10:24:40 +08:00
AUTHORS.txt Update AUTHORS 2021-08-25 07:43:35 +08:00
configure Support include empty config file. v5.0.173 v6.0.68 (#3768) 2023-08-28 10:53:27 +08:00
Dockerfile.builds Merge branch v5.0.103 into develop 2022-12-03 21:15:22 +08:00
Dockerfile.cov Asan: Refine asan warning message for macOS. 2022-12-31 21:20:51 +08:00
Dockerfile.pkg Merge branch v5.0.103 into develop 2022-12-03 21:15:22 +08:00
Dockerfile.test GB28181: Enable regression test for gb28181. v5.0.122 2022-12-31 19:47:54 +08:00