aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAkshat Kumar <seed@mail.nanosouffle.net>2012-08-31 13:21:13 -0400
committerRuss Cox <rsc@golang.org>2012-08-31 13:21:13 -0400
commita72bebf6e1a5eafd8347fb84e60155e2b9cdb6d7 (patch)
tree074e2b4532069cae6bd44a96f9b04d4b9e7fc048 /include
parent85ce3c724167f82793c0c2be0edf611c70cede49 (diff)
downloadgo-a72bebf6e1a5eafd8347fb84e60155e2b9cdb6d7.tar.xz
src: Add support for 64-bit version of Plan 9
This set of changes extends the Plan 9 support to include the AMD64 architecture and should work on all versions of Plan 9. R=golang-dev, rminnich, noah.evans, rsc, minux.ma, npe CC=akskuma, golang-dev, jfflore, noah.evans https://golang.org/cl/6479052
Diffstat (limited to 'include')
-rw-r--r--include/plan9/amd64/u.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/plan9/amd64/u.h b/include/plan9/amd64/u.h
new file mode 100644
index 0000000000..f2430b5359
--- /dev/null
+++ b/include/plan9/amd64/u.h
@@ -0,0 +1,14 @@
+// Copyright 2012 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.
+
+#include "/amd64/include/u.h"
+
+typedef char int8;
+typedef uchar uint8;
+typedef short int16;
+typedef ushort uint16;
+typedef int int32;
+typedef uint uint32;
+typedef vlong int64;
+typedef uvlong uint64;