Commit b00775e3 by Thomas Preud'homme Committed by Thomas Preud'homme

Fix broken MinGW build of gcc.c

2017-08-23  Thomas Preud'homme  <thomas.preudhomme@arm.com>

    gcc/
    * gcc.c (execute): Only test for SIGKILL and SIGQUIT if available.

From-SVN: r251302
parent 8649d5ee
2017-08-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
* gcc.c (execute): Only test for SIGKILL and SIGQUIT if available.
2017-08-22 Daniel Santos <daniel.santos@pobox.com> 2017-08-22 Daniel Santos <daniel.santos@pobox.com>
* doc/install.texi: Modify to add more details on running selected * doc/install.texi: Modify to add more details on running selected
......
...@@ -3154,8 +3154,13 @@ execute (void) ...@@ -3154,8 +3154,13 @@ execute (void)
switch (WTERMSIG (status)) switch (WTERMSIG (status))
{ {
case SIGINT: case SIGINT:
/* SIGQUIT and SIGKILL are not available on MinGW. */
#ifdef SIGQUIT
case SIGQUIT: case SIGQUIT:
#endif
#ifdef SIGKILL
case SIGKILL: case SIGKILL:
#endif
case SIGTERM: case SIGTERM:
/* The user (or environment) did something to the /* The user (or environment) did something to the
inferior. Making this an ICE confuses the user inferior. Making this an ICE confuses the user
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment