diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2011-11-15 12:48:22 -0500 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2011-11-15 12:48:22 -0500 |
| commit | 0d37998a06b5f5fddbdbe0aed4cbb7536b4201f6 (patch) | |
| tree | 949b3911649a3c7615a7bce4b6be755f8fc09f80 /src/pkg/runtime/windows/thread.c | |
| parent | d03611f628c65321b572ab0d4ce85cc61b759fc6 (diff) | |
| download | go-0d37998a06b5f5fddbdbe0aed4cbb7536b4201f6.tar.xz | |
syscall: make windows build again after d3963c0fca78 change
R=rsc, mikioh.mikioh
CC=golang-dev
https://golang.org/cl/5373097
Diffstat (limited to 'src/pkg/runtime/windows/thread.c')
| -rw-r--r-- | src/pkg/runtime/windows/thread.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pkg/runtime/windows/thread.c b/src/pkg/runtime/windows/thread.c index aec78509d5..9abc9cd728 100644 --- a/src/pkg/runtime/windows/thread.c +++ b/src/pkg/runtime/windows/thread.c @@ -81,7 +81,7 @@ runtime·osinit(void) void runtime·goenvs(void) { - extern Slice os·Envs; + extern Slice syscall·envs; uint16 *env; String *s; @@ -101,9 +101,9 @@ runtime·goenvs(void) s[i] = runtime·gostringw(p); p += runtime·findnullw(p)+1; } - os·Envs.array = (byte*)s; - os·Envs.len = n; - os·Envs.cap = n; + syscall·envs.array = (byte*)s; + syscall·envs.len = n; + syscall·envs.cap = n; runtime·stdcall(runtime·FreeEnvironmentStringsW, 1, env); } |
