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

@@ -538,8 +538,8 @@ const char *ZigLLVMGetOSTypeName(ZigLLVM_OSType os) {
return Triple::getOSTypeName((Triple::OSType)os);
}
const char *ZigLLVMGetEnvironmentTypeName(ZigLLVM_EnvironmentType environ) {
return Triple::getEnvironmentTypeName((Triple::EnvironmentType)environ);
const char *ZigLLVMGetEnvironmentTypeName(ZigLLVM_EnvironmentType env_type) {
return Triple::getEnvironmentTypeName((Triple::EnvironmentType)env_type);
}
void ZigLLVMGetNativeTarget(ZigLLVM_ArchType *arch_type, ZigLLVM_SubArchType *sub_arch_type,