before we compile it.
defs.h: Protect against multiple inclusion.
param.h: Include defs.h.
+ signame.c: Change #ifdef SYS_SIGLIST_MISSING to #if.
+ param-no-tm.h: Define SYS_SIGLIST_MISSING from USG.
Thu Apr 18 19:49:10 1991 Jim Kingdon (kingdon at cygint.cygnus.com)
#define ADDR_BITS_SET(addr) (addr)
#endif /* No ADDR_BITS_REMOVE. */
+#if !defined (SYS_SIGLIST_MISSING)
+#define SYS_SIGLIST_MISSING defined (USG)
+#endif /* No SYS_SIGLIST_MISSING */
+
#endif /* param.h not already included. */
#define CONST
#endif
-#ifdef SYS_SIGLIST_MISSING
+#if SYS_SIGLIST_MISSING
/* There is too much variation in Sys V signal numbers and names, so
we must initialize them at runtime. */
CONST char *abbrev;
CONST char *name;
{
-#ifdef SYS_SIGLIST_MISSING
+#if SYS_SIGLIST_MISSING
sys_siglist[number] = name;
#endif
sig_table[sig_table_nelts].number = number;
static void init_sigs ()
{
-#ifdef SYS_SIGLIST_MISSING
+#if SYS_SIGLIST_MISSING
int i;
/* Initialize signal names. */
return -1;
}
-#if defined (SYS_SIGLIST_MISSING)
+#if SYS_SIGLIST_MISSING
/* Print to standard error the name of SIGNAL, preceded by MESSAGE and
a colon, and followed by a newline. */
void
else
fprintf (stderr, "%s: %s\n", message, sys_siglist[signal]);
}
-#endif
+#endif /* SYS_SIGLIST_MISSING */
void
_initialize_signame ()