mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 00:13:47 +03:00
fix build for windows
found with "make buildall", it was broken since the change for reusable components.
This commit is contained in:
parent
3f5823de31
commit
4b8b53e776
2 changed files with 6 additions and 2 deletions
|
@ -5,5 +5,5 @@ package mox
|
|||
// Not implemented yet on windows. Would need to understand its security model
|
||||
// first.
|
||||
func ForkExecUnprivileged() {
|
||||
xlog.Fatal("fork and exec to unprivileged user not yet implemented on windows")
|
||||
pkglog.Fatal("fork and exec to unprivileged user not yet implemented on windows")
|
||||
}
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
package moxio
|
||||
|
||||
import (
|
||||
"github.com/mjl-/mox/mlog"
|
||||
)
|
||||
|
||||
// SyncDir opens a directory and syncs its contents to disk.
|
||||
// SyncDir is a no-op on Windows.
|
||||
func SyncDir(dir string) error {
|
||||
func SyncDir(log mlog.Log, dir string) error {
|
||||
// todo: how to sync a directory on windows?
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue