From 58c13aa949a571f4605ae1392cfd1e086fb820a7 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 16 Feb 2016 20:03:41 -0700 Subject: rename 'environ' to 'env_type' environ appears to clash with another symbol in mingw land --- src/codegen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codegen.cpp') 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; } } -- cgit v1.2.3