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

Fix sendmmsg build failed bug

This commit is contained in:
winlin 2020-04-26 22:41:03 +08:00
parent 613baa561a
commit 028ef56772
5 changed files with 231 additions and 175 deletions

View file

@ -743,7 +743,7 @@ int st_sendmsg(_st_netfd_t *fd, const struct msghdr *msg, int flags, st_utime_t
}
#if defined(MD_HAVE_SENDMMSG) && defined(_GNU_SOURCE)
#if defined(MD_HAVE_SENDMMSG) && defined(__linux__) && defined(_GNU_SOURCE)
int st_sendmmsg(st_netfd_t fd, struct mmsghdr *msgvec, unsigned int vlen, int flags, st_utime_t timeout)
{
int n;