From: Roland McGrath Date: Tue, 31 Jul 2012 16:39:14 +0000 (-0700) Subject: Don't assume SIGWINCH is defined. X-Git-Tag: upstream/2.16.90~783 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ecdb005618e9cc351615bb78967387b12b8ed99;p=platform%2Fupstream%2Fglibc.git Don't assume SIGWINCH is defined. --- diff --git a/ChangeLog b/ChangeLog index a7278cc..bf1ee3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-07-31 Roland McGrath + + * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef. + 2012-07-31 David S. Miller * sysdeps/sparc/fpu/libm-test-ulps: Update. diff --git a/sysdeps/generic/siglist.h b/sysdeps/generic/siglist.h index d2ad1db..7ecb8ab 100644 --- a/sysdeps/generic/siglist.h +++ b/sysdeps/generic/siglist.h @@ -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 @@ -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")) @@ -72,3 +71,6 @@ #ifdef SIGLOST init_sig (SIGLOST, "LOST", N_("Resource lost")) #endif +#ifdef SIGWINCH + init_sig (SIGWINCH, "WINCH", N_("Window changed")) +#endif