Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
e153d3d8
Commit
e153d3d8
authored
Mar 17, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: add const ARCH, analogous to OS
R=r CC=giles, golang-dev
https://golang.org/cl/600041
parent
a24f8144
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
Makefile
src/pkg/syscall/Makefile
+1
-0
syscall_386.go
src/pkg/syscall/syscall_386.go
+7
-0
syscall_amd64.go
src/pkg/syscall/syscall_amd64.go
+7
-0
syscall_arm.go
src/pkg/syscall/syscall_arm.go
+7
-0
No files found.
src/pkg/syscall/Makefile
View file @
e153d3d8
...
...
@@ -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
\
...
...
src/pkg/syscall/syscall_386.go
0 → 100644
View file @
e153d3d8
// 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"
src/pkg/syscall/syscall_amd64.go
0 → 100644
View file @
e153d3d8
// 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"
src/pkg/syscall/syscall_arm.go
0 → 100644
View file @
e153d3d8
// 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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment