blob: 29d44808b1d02b122a34bd0d6e39d6a274bb3871 [file] [log] [blame]
Don Newton98fd8812019-09-23 15:15:02 -04001// 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. Bainbridgee05cf0c2021-08-19 03:16:50 +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
Don Newton98fd8812019-09-23 15:15:02 -04008package 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}