1
0
mirror of https://github.com/golang/go synced 2024-11-12 05:40:22 -07:00
go/include/plan9
Anthony Martin 636169405c build: add intptr typedef for Plan 9
Revision 01810e5c68e9 added the following to src/pkg/runtime/stack.h:

        StackPreempt = (uintptr)(intptr)0xffffade,

The typedef for intptr is defined in two places:

        1. src/pkg/runtime/runtime.h for use by the runtime

        2. include/u.h for use by the compilers and linkers

On Plan 9, we don't use include/u.h but instead augment the host's
u.h with extra typedefs. These are in include/plan9/GOARCH/u.h.

We forgot to add intptr. It didn't cause a problem until now since
that typedef was never used outside the runtime.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/10023043
2013-06-04 16:21:04 -07:00
..
386 build: add intptr typedef for Plan 9 2013-06-04 16:21:04 -07:00
amd64 build: add intptr typedef for Plan 9 2013-06-04 16:21:04 -07:00
arm build: add intptr typedef for Plan 9 2013-06-04 16:21:04 -07:00
libc.h build: remove special definition of Runemax on Plan 9 2013-06-01 12:03:21 -07:00
mach.h build: remove unnecessary pragmas 2012-02-06 12:45:23 -05:00
ureg_amd64.h build: add include files for Plan 9 2012-01-31 18:14:44 -08:00
ureg_arm.h build: add include files for Plan 9 2012-01-31 18:14:44 -08:00
ureg_x86.h build: add include files for Plan 9 2012-01-31 18:14:44 -08:00