Patch for MINGW. Patch provided by Henrik Bach.
authorReid Spencer <rspencer@reidspencer.com>
Thu, 23 Sep 2004 14:47:10 +0000 (14:47 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Thu, 23 Sep 2004 14:47:10 +0000 (14:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16495 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Win32/Signals.cpp
lib/System/Win32/Signals.inc

index 1b6202a9db14b9e4c1561989a395232b4d861557..692a0476b1f7b4bb882277ecc0aa2383301f90d8 100644 (file)
 #include <llvm/System/Signals.h>
 #include <vector>
 
-#include "dbghelp.h"
-#include "psapi.h"
+#ifdef __MINGW_H
+#include <imagehlp.h>
+#else
+#include <dbghelp.h>
+#endif
+#include <psapi.h>
 
 #pragma comment(lib, "psapi.lib")
 #pragma comment(lib, "dbghelp.lib")
index 1b6202a9db14b9e4c1561989a395232b4d861557..692a0476b1f7b4bb882277ecc0aa2383301f90d8 100644 (file)
 #include <llvm/System/Signals.h>
 #include <vector>
 
-#include "dbghelp.h"
-#include "psapi.h"
+#ifdef __MINGW_H
+#include <imagehlp.h>
+#else
+#include <dbghelp.h>
+#endif
+#include <psapi.h>
 
 #pragma comment(lib, "psapi.lib")
 #pragma comment(lib, "dbghelp.lib")