Yep, this compiles on mingw:

- kill (getpid (), s);
+ raise (s);

Ross

On 19 April 2018 at 22:38, Paul Eggert <[email protected]> wrote:
> On 04/19/2018 02:59 AM, Burton, Ross wrote:
>>
>> However, in checksigs() it isn't.  A simple fix to help build
>> diffutils under mingw (which doesn't have kill()) is:
>>
>> +--- a/src/sdiff.c
>> ++++ b/src/sdiff.c
>> +@@ -805,7 +805,9 @@
>> +
>> +       /* Yield an exit status indicating that a signal was received.  */
>> +       untrapsig (s);
>> ++#if HAVE_WORKING_FORK
>> +       kill (getpid (), s);
>> ++#endif
>
>
> How about using 'raise' instead?
>



Reply via email to