aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/edsrzf/mmap-go/msync_unix.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-03-08 02:05:54 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-03-09 22:50:14 +0800
commit5c8fa6ae1a42813e7aec477bd68d98f66f85e0b8 (patch)
tree19e34d409d1a999079e007698f33766973676bc8 /vendor/github.com/edsrzf/mmap-go/msync_unix.go
parentb7d93500f13e3054c81196273ebf676ad8ecb5ba (diff)
downloadgo-tangerine-5c8fa6ae1a42813e7aec477bd68d98f66f85e0b8.tar.gz
go-tangerine-5c8fa6ae1a42813e7aec477bd68d98f66f85e0b8.tar.zst
go-tangerine-5c8fa6ae1a42813e7aec477bd68d98f66f85e0b8.zip
crypto, pow, vendor: hash optimizations, mmap ethash
Diffstat (limited to 'vendor/github.com/edsrzf/mmap-go/msync_unix.go')
-rw-r--r--vendor/github.com/edsrzf/mmap-go/msync_unix.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/github.com/edsrzf/mmap-go/msync_unix.go b/vendor/github.com/edsrzf/mmap-go/msync_unix.go
new file mode 100644
index 000000000..91ee5f40f
--- /dev/null
+++ b/vendor/github.com/edsrzf/mmap-go/msync_unix.go
@@ -0,0 +1,14 @@
+// Copyright 2011 Evan Shaw. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// +build darwin dragonfly freebsd linux openbsd solaris
+
+package mmap
+
+import (
+ "syscall"
+)
+
+const _SYS_MSYNC = syscall.SYS_MSYNC
+const _MS_SYNC = syscall.MS_SYNC