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

Support porting srs on MacOS OSX system Platform

Add the OSX platform cross complie options into srs
This commit is contained in:
Steven Liu 2014-07-27 19:32:12 +08:00
parent 6f700f3f40
commit b50ecd6dbe
4 changed files with 151 additions and 18 deletions

View file

@ -476,7 +476,7 @@ int SrsServer::acquire_pid_file()
}
// require write lock
flock lock;
struct flock lock;
lock.l_type = F_WRLCK; // F_RDLCK, F_WRLCK, F_UNLCK
lock.l_start = 0; // type offset, relative to l_whence