summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-01-19 09:08:05 -0800
committerRuss Cox <rsc@golang.org>2010-01-19 09:08:05 -0800
commit5429b0e33414ec0ce2c6e14a6ce4f8c725806d72 (patch)
tree5adf8824eeac3d413b5cbef300b74e7ae6dbc73f /include
parent3be4bcd2509123a0d61441428aa5c51585cb71e1 (diff)
downloadgo-5429b0e33414ec0ce2c6e14a6ce4f8c725806d72.tar.gz
libc: add goos, goarch, goroot. fixes build
TBR=r CC=golang-dev http://codereview.appspot.com/190059
Diffstat (limited to 'include')
-rw-r--r--include/libc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libc.h b/include/libc.h
index 7b86399fe..7774f98fa 100644
--- a/include/libc.h
+++ b/include/libc.h
@@ -286,6 +286,10 @@ extern Waitmsg* waitnohang(void);
extern int p9waitpid(void);
extern ulong rendezvous(ulong, ulong);
+extern char* getgoos(void);
+extern char* getgoarch(void);
+extern char* getgoroot(void);
+
#ifdef __MINGW32__
extern int fork();
extern int pread(int fd, void *buf, int n, int off);