diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-02-16 20:03:41 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-02-16 20:03:41 -0700 |
| commit | 58c13aa949a571f4605ae1392cfd1e086fb820a7 (patch) | |
| tree | d4f768df798852790c058810a3b7bd6758fccb01 /src/codegen.cpp | |
| parent | afa5d1ea1223b8eab475c4186faed4385ac95da0 (diff) | |
| download | zig-58c13aa949a571f4605ae1392cfd1e086fb820a7.tar.gz zig-58c13aa949a571f4605ae1392cfd1e086fb820a7.zip | |
rename 'environ' to 'env_type'
environ appears to clash with another symbol in mingw land
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index 1c681ce6d9..8b8023a31f 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -3586,7 +3586,7 @@ static void define_builtin_types(CodeGen *g) { type_enum_field->name = buf_create_from_str(ZigLLVMGetEnvironmentTypeName(environ_type)); type_enum_field->value = i; - if (environ_type == g->zig_target.environ) { + if (environ_type == g->zig_target.env_type) { g->target_environ_index = i; } } |
