Patch contributed by Dev Dude for mingw64 port.

llvm-svn: 162188
2 files changed