diff options
| author | Alex Brainman <alex.brainman@gmail.com> | 2010-12-16 12:18:18 +1100 |
|---|---|---|
| committer | Alex Brainman <alex.brainman@gmail.com> | 2010-12-16 12:18:18 +1100 |
| commit | c83451971e1f55e3507087f289891bad7942fe56 (patch) | |
| tree | b358fbfb9f7676fdfd501ea8382e91ff6a03eacd /src/pkg/runtime/runtime.c | |
| parent | bb53b1c2506c23d72644231a056836e3b9a3f094 (diff) | |
| download | go-c83451971e1f55e3507087f289891bad7942fe56.tar.xz | |
runtime: move windows goargs implementation from runtime and into os package
R=rsc
CC=golang-dev
https://golang.org/cl/3702041
Diffstat (limited to 'src/pkg/runtime/runtime.c')
| -rw-r--r-- | src/pkg/runtime/runtime.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c index ad5e97f497..dbdc0f2ac6 100644 --- a/src/pkg/runtime/runtime.c +++ b/src/pkg/runtime/runtime.c @@ -156,6 +156,10 @@ runtimeĀ·goargs(void) String *genvv; int32 i, envc; + // for windows implementation see "os" package + if(Windows) + return; + if(runtimeĀ·isplan9) envc=0; else |
