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

For #307, Support disable sendmmsg

This commit is contained in:
winlin 2020-04-05 22:13:49 +08:00
parent 6f7ebbdc5f
commit b8db61bd9c
4 changed files with 14 additions and 5 deletions

View file

@ -165,6 +165,11 @@ if [ $SRS_SENDMMSG = YES ]; then
else
srs_undefine_macro "SRS_AUTO_SENDMMSG" $SRS_AUTO_HEADERS_H
fi
if [ $SRS_HAS_SENDMMSG = YES ]; then
srs_define_macro "SRS_AUTO_HAS_SENDMMSG" $SRS_AUTO_HEADERS_H
else
srs_undefine_macro "SRS_AUTO_HAS_SENDMMSG" $SRS_AUTO_HEADERS_H
fi
# prefix
echo "" >> $SRS_AUTO_HEADERS_H