--- origsrc/llvm-3.4.2.src/tools/clang/lib/Sema/TargetAttributesSema.cpp 2013-10-01 09:34:25.000000000 -0500 +++ src/llvm-3.4.2.src/tools/clang/lib/Sema/TargetAttributesSema.cpp 2014-07-18 00:02:50.234889300 -0500 @@ -257,6 +257,7 @@ namespace { const AttributeList &Attr, Sema &S) const { const llvm::Triple &Triple(S.Context.getTargetInfo().getTriple()); if (Triple.getOS() == llvm::Triple::Win32 || + Triple.getOS() == llvm::Triple::Cygwin || Triple.getOS() == llvm::Triple::MinGW32) { switch (Attr.getKind()) { case AttributeList::AT_DLLImport: HandleDLLImportAttr(D, Attr, S);