Skip to content

Commit

Permalink
libc: add goos, goarch, goroot. fixes build
Browse files Browse the repository at this point in the history
TBR=r
CC=golang-dev
https://golang.org/cl/190059
  • Loading branch information
rsc committed Jan 19, 2010
1 parent 914c626 commit 3843021
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/libc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3843021

Please sign in to comment.