1
0
mirror of https://github.com/golang/go synced 2024-11-21 14:04:41 -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:
Dean Prichard 2010-02-08 11:53:27 -08:00 committed by Andrew Gerrand
parent b4fb00b69b
commit 49c4256913

View File

@ -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();