mirror of
https://github.com/golang/go
synced 2024-11-15 10:10:22 -07:00
cc777490fb
Previously, I had made available a tarball of the modified system headers that were necessary to build on Plan 9 but that was only a stopgap. I think this method is much better since no files outside of $GOROOT will have to be added or modified during the build process. Also, this is just the first step. I'll change the build to reference these files in another CL (that also contains a few more Makefile changes). R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5552056
15 lines
367 B
C
15 lines
367 B
C
// 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 "/386/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;
|