Index: llvm/trunk/include/llvm/Support/CodeGen.h =================================================================== --- llvm/trunk/include/llvm/Support/CodeGen.h +++ llvm/trunk/include/llvm/Support/CodeGen.h @@ -18,13 +18,14 @@ // Relocation model types. namespace Reloc { - enum Model { Static, PIC_, DynamicNoPIC, ROPI, RWPI, ROPI_RWPI }; + // Cannot be named PIC due to collision with -DPIC + enum Model { Static, PIC_, DynamicNoPIC, ROPI, RWPI, ROPI_RWPI }; } // Code model types. namespace CodeModel { // Sync changes with CodeGenCWrappers.h. - enum Model { Tiny, Small, Kernel, Medium, Large }; + enum Model { Tiny, Small, Kernel, Medium, Large }; } namespace PICLevel {