mirror of
https://github.com/golang/go.git
synced 2025-11-01 09:10:57 +00:00
libc: add goos, goarch, goroot. fixes build
TBR=r CC=golang-dev https://golang.org/cl/190059
This commit is contained in:
parent
914c626cae
commit
38430213f5
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue