mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Windows: Support run in single thread mode.
This commit is contained in:
parent
efea38c51a
commit
3d0dcb2a17
3 changed files with 14 additions and 0 deletions
|
@ -163,6 +163,11 @@ if [[ $SRS_LOG_TRACE == YES ]]; then
|
|||
else
|
||||
srs_undefine_macro "SRS_TRACE" $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
if [[ $SRS_SINGLE_THREAD == YES ]]; then
|
||||
srs_define_macro "SRS_SINGLE_THREAD" $SRS_AUTO_HEADERS_H
|
||||
else
|
||||
srs_undefine_macro "SRS_SINGLE_THREAD" $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
if [[ $SRS_LOG_LEVEL_V2 == YES ]]; then
|
||||
srs_define_macro "SRS_LOG_LEVEL_V2" $SRS_AUTO_HEADERS_H
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue