diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2017-08-23 10:43:36 +0000 |
---|---|---|
committer | Thomas Preud'homme <thopre01@gcc.gnu.org> | 2017-08-23 10:43:36 +0000 |
commit | b00775e37336989474ec65551880b7804480eb9c (patch) | |
tree | 0ea588877df2625d809066b9d54aadf3d214feab /gcc/gcc.c | |
parent | 8649d5eeee31e4f79cbc6995833b34951f94d947 (diff) | |
download | gcc-b00775e37336989474ec65551880b7804480eb9c.zip gcc-b00775e37336989474ec65551880b7804480eb9c.tar.gz gcc-b00775e37336989474ec65551880b7804480eb9c.tar.bz2 |
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
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -3154,8 +3154,13 @@ execute (void) switch (WTERMSIG (status)) { case SIGINT: + /* SIGQUIT and SIGKILL are not available on MinGW. */ +#ifdef SIGQUIT case SIGQUIT: +#endif +#ifdef SIGKILL case SIGKILL: +#endif case SIGTERM: /* The user (or environment) did something to the inferior. Making this an ICE confuses the user |