Normally wouldn't bother with a review for something so trivial, but I know close to nothing about mingw, so I'm hoping someone can tell me if this is right. AIUI, mingw should emulate Linux, so that's what I've done here. http://reviews.llvm.org/D6558