From 35e1ad78fbab93f9efcf5f6608e5bc5569277845 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Mon, 12 Feb 2018 14:58:24 -0500 Subject: Make libpod build on 32-bit systems Signed-off-by: Matthew Heon Closes: #324 Approved by: rhatdan --- libpod/finished64.go | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 libpod/finished64.go (limited to 'libpod/finished64.go') diff --git a/libpod/finished64.go b/libpod/finished64.go deleted file mode 100644 index 11dbc9181..000000000 --- a/libpod/finished64.go +++ /dev/null @@ -1,16 +0,0 @@ -// +build !arm,!386 - -package libpod - -import ( - "os" - "syscall" - "time" -) - -// Get the created time of a file -// Only works on 64-bit OSes -func getFinishedTime(fi os.FileInfo) time.Time { - st := fi.Sys().(*syscall.Stat_t) - return time.Unix(st.Ctim.Sec, st.Ctim.Nsec) -} -- cgit v1.2.3-54-g00ecf