Skip to content

Commit

Permalink
Fix *l/*c -V flag segfault
Browse files Browse the repository at this point in the history
*l/*c -V will segfault on macos without this trivial fix.

R=adg
CC=golang-dev
https://golang.org/cl/205042
  • Loading branch information
zard49 authored and adg committed Feb 8, 2010
1 parent b4fb00b commit 49c4256
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/libc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 49c4256

Please sign in to comment.