diff --git a/module.cpp b/module.cpp index 10d74861..d1946449 100644 --- a/module.cpp +++ b/module.cpp @@ -944,7 +944,7 @@ Module::writeObjectFileOrAssembly(OutputType outputType, const char *outFileName } std::string featuresString; -#ifdef LLVM_3_0svn +#if defined LLVM_3_0svn || defined LLVM_3_0 llvm::TargetMachine *targetMachine = target->createTargetMachine(triple.getTriple(), g->target.cpu, featuresString);