mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-10-27 06:09:56 -04:00
Fix compilation for Windows
This commit is contained in:
1 parent
a0f21b31f7
commit
bc793178e1
23 files changed
+23
-6
No files matched your search
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,9 @@
|
||||
//go:build !windows
|
||||
|
||||
package global
|
||||
|
||||
import "syscall"
|
||||
|
||||
func GetSysProcAttr() *syscall.SysProcAttr {
|
||||
return &syscall.SysProcAttr{Setsid: true}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
//go:build windows
|
||||
|
||||
package global
|
||||
|
||||
import "syscall"
|
||||
|
||||
func GetSysProcAttr() *syscall.SysProcAttr {
|
||||
return &syscall.SysProcAttr{}
|
||||
}
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user