Skip to content

Commit

Permalink
Don't assume SIGWINCH is defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland McGrath committed Jul 31, 2012
1 parent 2618f59 commit 7ecdb00
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2012-07-31 Roland McGrath <roland@hack.frob.com>

* sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.

2012-07-31 David S. Miller <davem@davemloft.net>

* sysdeps/sparc/fpu/libm-test-ulps: Update.
Expand Down
6 changes: 4 additions & 2 deletions sysdeps/generic/siglist.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Canonical list of all signal names.
Copyright (C) 1996,97,98,99 Free Software Foundation, Inc.
Copyright (C) 1996-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -50,7 +50,6 @@
init_sig (SIGXFSZ, "XFSZ", N_("File size limit exceeded"))
init_sig (SIGVTALRM, "VTALRM", N_("Virtual timer expired"))
init_sig (SIGPROF, "PROF", N_("Profiling timer expired"))
init_sig (SIGWINCH, "WINCH", N_("Window changed"))
init_sig (SIGUSR1, "USR1", N_("User defined signal 1"))
init_sig (SIGUSR2, "USR2", N_("User defined signal 2"))

Expand All @@ -72,3 +71,6 @@
#ifdef SIGLOST
init_sig (SIGLOST, "LOST", N_("Resource lost"))
#endif
#ifdef SIGWINCH
init_sig (SIGWINCH, "WINCH", N_("Window changed"))
#endif

0 comments on commit 7ecdb00

Please sign in to comment.