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:
parent
6f700f3f40
commit
b50ecd6dbe
4 changed files with 151 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue