diff --git a/walk/getdents_windows.go b/walk/getdents_stdlib.go similarity index 92% rename from walk/getdents_windows.go rename to walk/getdents_stdlib.go index f4b4e7e..ddcefdf 100644 --- a/walk/getdents_windows.go +++ b/walk/getdents_stdlib.go @@ -2,6 +2,8 @@ // Project: autoindex (https://github.com/nielsAD/autoindex) // License: Mozilla Public License, v2.0 +// +build !freebsd,!linux,!netbsd,!openbsd + package walk import ( diff --git a/walk/getdents_unix.go b/walk/getdents_unix.go index 6229f4d..1075fbb 100644 --- a/walk/getdents_unix.go +++ b/walk/getdents_unix.go @@ -2,7 +2,7 @@ // Project: autoindex (https://github.com/nielsAD/autoindex) // License: Mozilla Public License, v2.0 -// +build darwin freebsd linux netbsd openbsd +// +build freebsd linux netbsd openbsd package walk