24 changed files with 1371 additions and 142 deletions
@ -1,2 +1,2 @@
@@ -1,2 +1,2 @@
|
||||
#!/bin/bash |
||||
#!/bin/sh |
||||
exec ./bin/spreed-webrtc-server $* |
||||
|
@ -0,0 +1,11 @@
@@ -0,0 +1,11 @@
|
||||
// +build freebsd
|
||||
|
||||
package main |
||||
|
||||
// Rlimit values are int64 in FreeBSD.
|
||||
// https://golang.org/src/syscall/ztypes_freebsd_amd64.go
|
||||
// Intentionally signed, because of legacy code that uses -1 for
|
||||
// RLIM_INFINITY.
|
||||
func rlimitType(value int) int64 { |
||||
return int64(value) |
||||
} |
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
// +build !freebsd
|
||||
|
||||
package main |
||||
|
||||
// On Unix, rLimit values are uint64.
|
||||
func rlimitType(value int) uint64 { |
||||
return uint64(value) |
||||
} |
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue