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:
parent
da35d42521
commit
4360ef8de2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user