blob: 998f5e5783b6c77bed8c73438c3c53d953202cff [file] [log] [blame]
--- src/sdiff.c.orig 2013-02-02 04:39:05.000000000 +0000
+++ src/sdiff.c 2015-04-13 13:17:38.480390800 +0100
@@ -805,7 +805,11 @@
/* Yield an exit status indicating that a signal was received. */
untrapsig (s);
+#if defined _MSC_VER || defined __MINGW32__
+ raise (s);
+#else
kill (getpid (), s);
+#endif
/* That didn't work, so exit with error status. */
exit (EXIT_TROUBLE);