aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/edsrzf/mmap-go/msync_netbsd.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_netbsd.go
parentb7d93500f13e3054c81196273ebf676ad8ecb5ba (diff)
downloaddexon-5c8fa6ae1a42813e7aec477bd68d98f66f85e0b8.tar.gz
dexon-5c8fa6ae1a42813e7aec477bd68d98f66f85e0b8.tar.zst
dexon-5c8fa6ae1a42813e7aec477bd68d98f66f85e0b8.zip
crypto, pow, vendor: hash optimizations, mmap ethash
Diffstat (limited to 'vendor/github.com/edsrzf/mmap-go/msync_netbsd.go')
-rw-r--r--vendor/github.com/edsrzf/mmap-go/msync_netbsd.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/edsrzf/mmap-go/msync_netbsd.go b/vendor/github.com/edsrzf/mmap-go/msync_netbsd.go
new file mode 100644
index 000000000..a64b003e2
--- /dev/null
+++ b/vendor/github.com/edsrzf/mmap-go/msync_netbsd.go
@@ -0,0 +1,8 @@
+// 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.
+
+package mmap
+
+const _SYS_MSYNC = 277
+const _MS_SYNC = 0x04