mirror of
https://github.com/golang/go
synced 2024-11-23 18:50:05 -07: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
@ -286,6 +286,10 @@ extern Waitmsg* waitnohang(void);
|
|||||||
extern int p9waitpid(void);
|
extern int p9waitpid(void);
|
||||||
extern ulong rendezvous(ulong, ulong);
|
extern ulong rendezvous(ulong, ulong);
|
||||||
|
|
||||||
|
extern char* getgoos(void);
|
||||||
|
extern char* getgoarch(void);
|
||||||
|
extern char* getgoroot(void);
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
extern int fork();
|
extern int fork();
|
||||||
extern int pread(int fd, void *buf, int n, int off);
|
extern int pread(int fd, void *buf, int n, int off);
|
||||||
|
Loading…
Reference in New Issue
Block a user