summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/fsync.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/fsync.go')
-rw-r--r--vendor/modernc.org/libc/fsync.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/fsync.go b/vendor/modernc.org/libc/fsync.go
new file mode 100644
index 000000000..c128fbab0
--- /dev/null
+++ b/vendor/modernc.org/libc/fsync.go
@@ -0,0 +1,9 @@
+// Copyright 2020 The Libc Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build !libc.nofsync
+
+package libc // import "modernc.org/libc"
+
+const noFsync = false