Commit f1037f0e authored by Georg Reinke's avatar Georg Reinke Committed by Joel Sing

runtime: fix build on openbsd

R=golang-dev, jsing
CC=golang-dev
https://golang.org/cl/7312104
parent c02d18ab
...@@ -172,7 +172,7 @@ runtime·minit(void) ...@@ -172,7 +172,7 @@ runtime·minit(void)
// Initialize signal handling // Initialize signal handling
m->gsignal = runtime·malg(32*1024); m->gsignal = runtime·malg(32*1024);
runtime·signalstack((byte*)m->gsignal->stackguard - StackGuard, 32*1024); runtime·signalstack((byte*)m->gsignal->stackguard - StackGuard, 32*1024);
runtime·sigprocmask(SIG_SETMASK, &sigset_none, nil, sizeof sigset_none); runtime·sigprocmask(SIG_SETMASK, sigset_none);
} }
void void
......
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