aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorJan Ziak <0xe2.0x9a.0x9b@gmail.com>2012-09-17 17:18:21 -0400
committerRuss Cox <rsc@golang.org>2012-09-17 17:18:21 -0400
commit54193689ccdf51833c157d55bbbab739bf44dc3b (patch)
tree61e04b4f0b74604ca8d046edbd4ae22603b3d595 /src/pkg/runtime/runtime.h
parent0f8f5d2140120d00fee53c633e82265d6d4e6784 (diff)
downloadgo-54193689ccdf51833c157d55bbbab739bf44dc3b.tar.xz
cmd/ld: fix compilation when GOARCH != GOHOSTARCH
R=rsc, dave, minux.ma CC=golang-dev https://golang.org/cl/6493123
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index c221e82c29..20fb8ddfe1 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -118,6 +118,10 @@ enum
true = 1,
false = 0,
};
+enum
+{
+ PtrSize = sizeof(void*),
+};
/*
* structures