1
0
mirror of https://github.com/golang/go synced 2024-11-26 15:06:52 -07:00

lib9: fix build for windows

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7311044
This commit is contained in:
Shenghou Ma 2013-02-06 00:33:25 +08:00
parent da35d42521
commit 4360ef8de2

View File

@ -30,7 +30,8 @@ THE SOFTWARE.
#ifdef WIN32
#include <windows.h>
static void crashhandler() {
static void crashhandler(int sig) {
USED(sig);
fprint(2, "%s: internal fatal error.\n", argv0);
exit(1);
}