mirror of
https://github.com/golang/go
synced 2024-11-21 20:04:44 -07: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
@ -289,6 +289,7 @@ extern ulong rendezvous(ulong, ulong);
|
|||||||
extern char* getgoos(void);
|
extern char* getgoos(void);
|
||||||
extern char* getgoarch(void);
|
extern char* getgoarch(void);
|
||||||
extern char* getgoroot(void);
|
extern char* getgoroot(void);
|
||||||
|
extern char* getgoversion(void);
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
#ifdef __MINGW32__
|
||||||
extern int fork();
|
extern int fork();
|
||||||
|
Loading…
Reference in New Issue
Block a user