rename 'environ' to 'env_type'

environ appears to clash with another symbol in mingw land
This commit is contained in:
Andrew Kelley
2016-02-16 20:03:41 -07:00
parent afa5d1ea12
commit 58c13aa949
7 changed files with 20 additions and 20 deletions

View File

@@ -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;
}
}