Commit 491a3ca5 authored by Russ Cox's avatar Russ Cox

gc: fix SIGBUS

R=ken2
CC=golang-dev
https://golang.org/cl/1906042
parent 4f64ecfd
......@@ -68,6 +68,7 @@ extern "C" {
#include <stddef.h>
#include <math.h>
#include <ctype.h> /* for tolower */
#include <signal.h>
/*
* OS-specific crap
......@@ -192,6 +193,10 @@ typedef u64int uint64;
#undef _NEEDUINT
#undef _NEEDULONG
#ifndef SIGBUS
#define SIGBUS SIGSEGV /* close enough */
#endif
/*
* Funny-named symbols to tip off 9l to autolink.
*/
......
......@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
#include <u.h>
#include <signal.h>
#include <libc.h>
#include <bio.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment