提交 | 用户 | age | ||
3bd1f2 | 1 | // Copyright 2016 Tom Thorogood. All rights reserved. |
Z | 2 | // Use of this source code is governed by a |
3 | // Modified BSD License license that can be found in | |
4 | // the LICENSE file. | |
5 | ||
6 | // +build linux | |
7 | ||
8 | //go:generate sh -c "GOARCH=386 go tool cgo -godefs shared.go | gofmt > shared_linux_386.go" | |
9 | //go:generate sh -c "GOARCH=amd64 go tool cgo -godefs shared.go | gofmt > shared_linux_amd64.go" | |
10 | ||
11 | package shm |