mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00:00
Fix *l/*c -V flag segfault
*l/*c -V will segfault on macos without this trivial fix. R=adg CC=golang-dev https://golang.org/cl/205042
This commit is contained in:
parent
b4fb00b69b
commit
49c4256913
1 changed files with 1 additions and 0 deletions
|
@ -289,6 +289,7 @@ extern ulong rendezvous(ulong, ulong);
|
|||
extern char* getgoos(void);
|
||||
extern char* getgoarch(void);
|
||||
extern char* getgoroot(void);
|
||||
extern char* getgoversion(void);
|
||||
|
||||
#ifdef __MINGW32__
|
||||
extern int fork();
|
||||
|
|
Loading…
Reference in a new issue