aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack1.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stack1.go')
-rw-r--r--src/runtime/stack1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack1.go b/src/runtime/stack1.go
index 57d0f8c65e..c14347dbdf 100644
--- a/src/runtime/stack1.go
+++ b/src/runtime/stack1.go
@@ -781,7 +781,7 @@ func shrinkstack(gp *g) {
if gp.syscallsp != 0 {
return
}
- if _Windows != 0 && gp.m != nil && gp.m.libcallsp != 0 {
+ if goos_windows != 0 && gp.m != nil && gp.m.libcallsp != 0 {
return
}