diff options
author | Russ Cox <rsc@golang.org> | 2010-01-19 09:08:05 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-01-19 09:08:05 -0800 |
commit | 45055df5ecb28964aac7879f6b0b3a92f964a10f (patch) | |
tree | 5adf8824eeac3d413b5cbef300b74e7ae6dbc73f /include/libc.h | |
parent | 7de976c33388e765ed72df7ef0273564113fee53 (diff) | |
download | golang-45055df5ecb28964aac7879f6b0b3a92f964a10f.tar.gz |
libc: add goos, goarch, goroot. fixes build
TBR=r
CC=golang-dev
http://codereview.appspot.com/190059
Diffstat (limited to 'include/libc.h')
-rw-r--r-- | include/libc.h | 4 |
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); |