Commit e153d3d8 authored by Russ Cox's avatar Russ Cox

syscall: add const ARCH, analogous to OS

R=r
CC=giles, golang-dev
https://golang.org/cl/600041
parent a24f8144
......@@ -9,6 +9,7 @@ GOFILES=\
errstr.go\
exec.go\
syscall.go\
syscall_$(GOARCH).go\
syscall_$(GOOS).go\
syscall_$(GOOS)_$(GOARCH).go\
zerrors_$(GOOS)_$(GOARCH).go\
......
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package syscall
const ARCH = "386"
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package syscall
const ARCH = "amd64"
// Copyright 2010 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package syscall
const ARCH = "arm"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment