Changeset 503 for trunk/src/gmake/signame.c
- Timestamp:
- Sep 15, 2006, 7:09:38 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmake/signame.c
r281 r503 1 1 /* Convert between signal names and numbers. 2 Copyright (C) 1990,92,93,95,96,99, 2002 Free Software Foundation, Inc. 3 This file was part of the GNU C Library, but is now part of GNU make. 4 5 GNU Make is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2, or (at your option) 8 any later version. 9 10 GNU Make is distributed in the hope that it will be useful, 11 but WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 GNU General Public License for more details. 14 15 You should have received a copy of the GNU General Public License 16 along with GNU Make; see the file COPYING. If not, write to 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 18 Boston, MA 02111-1307, USA. */ 2 Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4 This file is part of GNU Make. 5 6 GNU Make is free software; you can redistribute it and/or modify it under the 7 terms of the GNU General Public License as published by the Free Software 8 Foundation; either version 2, or (at your option) any later version. 9 10 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY 11 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 12 A PARTICULAR PURPOSE. See the GNU General Public License for more details. 13 14 You should have received a copy of the GNU General Public License along with 15 GNU Make; see the file COPYING. If not, write to the Free Software 16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ 19 17 20 18 #include "make.h" … … 22 20 /* If the system provides strsignal, we don't need it. */ 23 21 24 #if ! defined(HAVE_STRSIGNAL)22 #if !HAVE_STRSIGNAL 25 23 26 24 /* If the system provides sys_siglist, we'll use that. … … 28 26 */ 29 27 30 #if ! defined(HAVE_DECL_SYS_SIGLIST)28 #if !HAVE_DECL_SYS_SIGLIST 31 29 32 30 /* Some systems do not define NSIG in <signal.h>. */ … … 236 234 237 235 #if ! HAVE_DECL_SYS_SIGLIST 236 # if HAVE_DECL__SYS_SIGLIST 237 # define sys_siglist _sys_siglist 238 # elif HAVE_DECL___SYS_SIGLIST 239 # define sys_siglist __sys_siglist 240 # else 238 241 static char sig_initted = 0; 239 242 240 243 if (!sig_initted) 241 244 sig_initted = signame_init (); 245 # endif 242 246 #endif 243 247
Note:
See TracChangeset
for help on using the changeset viewer.