-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support for building on FreeBSD and NetBSD
- Loading branch information
root
committed
Apr 10, 2015
1 parent
a6363c6
commit c7edca5
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// +build freebsd | ||
|
||
package main | ||
|
||
import "os" | ||
import "syscall" | ||
|
||
func atime(info os.FileInfo) syscall.Timespec { | ||
return sysStat(info).Atimespec | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// +build netbsd | ||
|
||
package main | ||
|
||
import "os" | ||
import "syscall" | ||
|
||
func atime(info os.FileInfo) syscall.Timespec { | ||
return sysStat(info).Atimespec | ||
} |