Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
3453a220
Commit
3453a220
authored
Jul 24, 2013
by
Keith Randall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runtime: only define SEH when we need it.
R=golang-dev, iant CC=golang-dev
https://golang.org/cl/11769043
parent
9b1f1833
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
proc.c
src/pkg/runtime/proc.c
+4
-0
No files found.
src/pkg/runtime/proc.c
View file @
3453a220
...
...
@@ -485,10 +485,14 @@ runtime·starttheworld(void)
void
runtime
·
mstart
(
void
)
{
#ifdef GOOS_windows
#ifdef GOARCH_386
// It is used by windows-386 only. Unfortunately, seh needs
// to be located on os stack, and mstart runs on os stack
// for both m0 and m.
SEH
seh
;
#endif
#endif
if
(
g
!=
m
->
g0
)
runtime
·
throw
(
"bad runtime·mstart"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment