blob: 29d44808b1d02b122a34bd0d6e39d6a274bb3871 [file] [log] [blame]
Zack Williamse940c7a2019-08-21 14:25:39 -07001// Copyright 2014 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
David K. Bainbridgebd6b2882021-08-26 13:31:02 +00005//go:build (linux && 386) || (linux && arm) || (linux && mips) || (linux && mipsle) || (linux && ppc)
6// +build linux,386 linux,arm linux,mips linux,mipsle linux,ppc
7
Zack Williamse940c7a2019-08-21 14:25:39 -07008package unix
9
10func init() {
11 // On 32-bit Linux systems, the fcntl syscall that matches Go's
12 // Flock_t type is SYS_FCNTL64, not SYS_FCNTL.
13 fcntl64Syscall = SYS_FCNTL64
14}