summaryrefslogtreecommitdiff
path: root/packages/gdb/gdb-6.8/gdb-6.8-mips-mingw-sim-fixup.patch
blob: 2a31e29174f9aa8b6be4dd5cc6215669e1c15feb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
 sim/common/sim-signal.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: gdb-6.8/sim/common/sim-signal.c
===================================================================
--- gdb-6.8.orig/sim/common/sim-signal.c
+++ gdb-6.8/sim/common/sim-signal.c
@@ -26,7 +26,7 @@ along with this program.  If not, see <h
    to not think the process has died (so it can be debugged at the point of
    failure).  */
 
-#ifdef _MSC_VER
+#ifdef __WIN32
 #ifndef SIGTRAP
 #define SIGTRAP 5
 #endif