[llvm-commits] CVS: llvm/lib/System/Win32/Signals.cpp

Reid Spencer reid at x10sys.com
Thu Sep 23 07:47:30 PDT 2004



Changes in directory llvm/lib/System/Win32:

Signals.cpp updated: 1.4 -> 1.5
---
Log message:

Patch for MINGW. Patch provided by Henrik Bach.


---
Diffs of the changes:  (+6 -2)

Index: llvm/lib/System/Win32/Signals.cpp
diff -u llvm/lib/System/Win32/Signals.cpp:1.4 llvm/lib/System/Win32/Signals.cpp:1.5
--- llvm/lib/System/Win32/Signals.cpp:1.4	Sun Sep 19 00:37:39 2004
+++ llvm/lib/System/Win32/Signals.cpp	Thu Sep 23 09:47:10 2004
@@ -15,8 +15,12 @@
 #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")






More information about the llvm-commits mailing list