about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-07-31 09:39:14 -0700
committerRoland McGrath <roland@hack.frob.com>2012-07-31 09:39:14 -0700
commit7ecdb005618e9cc351615bb78967387b12b8ed99 (patch)
treeb5ba96d2bb08c053420cc2b7d0da68063a7eb80b /sysdeps/generic
parent2618f5993cc079744ece63dc010fca51df35554d (diff)
downloadglibc-7ecdb005618e9cc351615bb78967387b12b8ed99.tar.gz
glibc-7ecdb005618e9cc351615bb78967387b12b8ed99.tar.xz
glibc-7ecdb005618e9cc351615bb78967387b12b8ed99.zip
Don't assume SIGWINCH is defined.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/siglist.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/generic/siglist.h b/sysdeps/generic/siglist.h
index d2ad1db369..7ecb8ab184 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