octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem compiling today cvs on sco-unix


From: Joao Cardoso
Subject: Problem compiling today cvs on sco-unix
Date: Fri, 04 Feb 2000 19:06:31 +0000

Hi,

This patch allows compilation on sco-3.2v4.0

bash-2.02# diff -c src/siglist.c.org src/siglist.c
*** src/siglist.c.org   Fri Feb  4 17:14:00 2000
--- src/siglist.c       Fri Feb  4 17:14:38 2000
***************
*** 25,30 ****
--- 25,31 ----
  #endif

  #include "siglist.h"
+ #include <signal.h>

  #ifndef HAVE_SYS_SIGLIST
  char *sys_siglist[NSIG + 1] =

The problem is that NSIG is declared in <sys/signal.h>, wich is included
by <signal.h>

Also, sco does not have sys_siglist, instead it has _sys_siglist:

    bash-2.02# grep siglist /usr/include/*.h
    /usr/include/signal.h:extern const char * const _sys_siglist[];

but this problem is usually solved by the "#ifndef HAVE_SYS_SIGLIST"

Thanks,
Joao


--
Joao Cardoso                |   e-mail: address@hidden
INESC, R. Jose Falcao 110   |   tel:    + 351 222094322
4050 Porto, Portugal        |   fax:    + 351 222008487




reply via email to

[Prev in Thread] Current Thread [Next in Thread]