summaryrefslogtreecommitdiff
path: root/src/os/file_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/file_windows.go')
-rw-r--r--src/os/file_windows.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os/file_windows.go b/src/os/file_windows.go
index 37db3f931c..c77d182fae 100644
--- a/src/os/file_windows.go
+++ b/src/os/file_windows.go
@@ -14,7 +14,8 @@ import (
"unsafe"
)
-const _UTIME_OMIT = 0
+// This matches the value in syscall/syscall_windows.go.
+const _UTIME_OMIT = -1
// file is the real representation of *File.
// The extra level of indirection ensures that no clients of os