EricWF added a comment. In http://reviews.llvm.org/D19702#416314, @majnemer wrote: > Er, I don't think mingw provides _mktemp_s. I went back to the old method for MinGW in r267968 just to be safe. Thanks for the input. http://reviews.llvm.org/D19702