summaryrefslogtreecommitdiffstats
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.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/fsync.go b/vendor/modernc.org/libc/fsync.go
new file mode 100644
index 00000000..dacf2528
--- /dev/null
+++ b/vendor/modernc.org/libc/fsync.go
@@ -0,0 +1,10 @@
+// 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.
+
+//go:build !libc.nofsync
+// +build !libc.nofsync
+
+package libc // import "modernc.org/libc"
+
+const noFsync = false