commit | 49c42569138d027b7c7e68dbbe58fd1864045767 | [log] [tgz] |
---|---|---|
author | Dean Prichard <dean.prichard@gmail.com> | Mon Feb 08 11:53:27 2010 -0800 |
committer | Andrew Gerrand <adg@golang.org> | Mon Feb 08 11:53:27 2010 -0800 |
tree | 3945e5bd279ac343f2d77e6f78fa306815a90330 | |
parent | b4fb00b69bfdde92aa94b4fdd2376e47f0293c40 [diff] [blame] |
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
diff --git a/include/libc.h b/include/libc.h index 7774f98..ea6fc3b 100644 --- a/include/libc.h +++ b/include/libc.h
@@ -289,6 +289,7 @@ extern char* getgoos(void); extern char* getgoarch(void); extern char* getgoroot(void); +extern char* getgoversion(void); #ifdef __MINGW32__ extern int fork();