Fix Mingw build.
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>
Wed, 11 Feb 2015 10:14:13 +0000 (10:14 +0000)
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>
Wed, 11 Feb 2015 10:14:13 +0000 (10:14 +0000)
commitc4d5ed06cde28a4c209385a2513e338673834c80
treeca039dda02ac679ec5937a47c258e6be67413f23
parentf14735937626fcda45254aae4699acb8d0b89b31
Fix Mingw build.

Following changes are done.

Add missing headers.
Replace _snprintf with snprintf. It is already changed to _snprintf for MSVC.
Add a file in the build for autoconf.
Call DynamicLoaderWindows::Terminate and DynamicLoaderWindows::Initialize only for MSVC build.

Reviewed in http://reviews.llvm.org/D7536.

llvm-svn: 228822
lldb/source/Host/common/SocketAddress.cpp
lldb/source/Host/windows/Makefile
lldb/source/Utility/UriParser.cpp
lldb/source/lldb.cpp