Provide configuration support and usage for MINGW32 platform

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28639 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer
2006-06-01 19:03:21 +00:00
parent d386e55e33
commit 48fdf91d0f
6 changed files with 53 additions and 346 deletions

View File

@ -14,12 +14,18 @@
#include "Win32.h"
#ifdef __MINGW32__
#include <imagehlp.h>
#include <imagehlp.h>
#else
#include <dbghelp.h>
#include <dbghelp.h>
#endif
#pragma comment(lib, "dbghelp.lib")
#ifdef __MINGW32__
#if (HAVE_LIBIMAGEHLP != 1)
#error "libimagehlp.a should be present"
#endif
#else
#pragma comment(lib, "dbghelp.lib")
#endif
namespace llvm {
using namespace sys;