mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RISCV: Patch ST and libsrtp. #3115
This commit is contained in:
parent
8a6fa30992
commit
08c4b25030
6 changed files with 187 additions and 38 deletions
4
trunk/3rdparty/st-srs/md.h
vendored
4
trunk/3rdparty/st-srs/md.h
vendored
|
@ -186,6 +186,10 @@
|
|||
/* https://github.com/ossrs/state-threads/issues/21 */
|
||||
#define MD_USE_BUILTIN_SETJMP
|
||||
#define MD_GET_SP(_t) *((long *)&((_t)->context[0].__jb[0]))
|
||||
#elif defined(__riscv)
|
||||
/* https://github.com/ossrs/state-threads/pull/28 */
|
||||
#define MD_USE_BUILTIN_SETJMP
|
||||
#define MD_GET_SP(_t) *((long *)&((_t)->context[0].__jmpbuf[0]))
|
||||
|
||||
#elif defined(__loongarch__)
|
||||
/* https://github.com/ossrs/state-threads/issues/24 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue