summaryrefslogtreecommitdiff
path: root/app/stat.go
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-07-14 20:21:21 -0500
committerChristian Cleberg <[email protected]>2026-07-14 20:21:21 -0500
commit6b8e23001283acb95d10c275155e9cb83b15f598 (patch)
tree21da39255b08fa7a5412fd1eebcbffa27524eae9 /app/stat.go
parent8a52a60b14aa510983c173825e16636fca73dac9 (diff)
downloadskunky-art-6b8e23001283acb95d10c275155e9cb83b15f598.tar.gz
skunky-art-6b8e23001283acb95d10c275155e9cb83b15f598.tar.bz2
skunky-art-6b8e23001283acb95d10c275155e9cb83b15f598.zip
build: fix build on darwin
macOS names the stat ctime field Ctimespec rather than Ctim, so stat.go failed to compile on a Mac. Split the darwin case into its own file and exclude darwin from the generic variant. Deploys are unaffected.
Diffstat (limited to 'app/stat.go')
-rwxr-xr-xapp/stat.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/stat.go b/app/stat.go
index a5bebcc..8f0d231 100755
--- a/app/stat.go
+++ b/app/stat.go
@@ -1,5 +1,5 @@
-//go:build !freebsd
-// +build !freebsd
+//go:build !freebsd && !darwin
+// +build !freebsd,!darwin
package app