1
0
mirror of https://github.com/golang/go synced 2024-11-24 06:10:05 -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* 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();