mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, support configure with sendmmsg.
This commit is contained in:
parent
b23525033b
commit
dc3df926eb
8 changed files with 56 additions and 15 deletions
|
@ -160,6 +160,11 @@ if [ $SRS_OSX = YES ]; then
|
|||
else
|
||||
srs_undefine_macro "SRS_AUTO_OSX" $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
if [ $SRS_SENDMMSG = YES ]; then
|
||||
srs_define_macro "SRS_AUTO_SENDMMSG" $SRS_AUTO_HEADERS_H
|
||||
else
|
||||
srs_undefine_macro "SRS_AUTO_SENDMMSG" $SRS_AUTO_HEADERS_H
|
||||
fi
|
||||
|
||||
# prefix
|
||||
echo "" >> $SRS_AUTO_HEADERS_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue