From: Andrew Crabtree Message-Id: <199801100114.AA026604887@typhoon.rose.hp.com> Subject: NSIG ? To: djgpp-workers AT delorie DOT com Date: Fri, 09 Jan 1998 17:14:47 PST Reply-To: andrewc AT rosemail DOT rose DOT hp DOT com Precedence: bulk In attempting to build the new c++ libs I came across the following code. static int sys_nsig = NSIG; extern const char * const sys_siglist[]; NSIG does not appear to be declared in djs signal.h. In hpux signal.h it is defined as follows /* NSIG is 1 greater than the highest defined signal */ #ifdef __hp9000s300 # define _NSIG 33 #endif /* __hp9000s300 */ #ifdef __hp9000s800 # ifndef _KERNEL # define _NSIG 31 # endif /* not _KERNEL */ #endif /* __hp9000s800 */ #if defined(_XPG2) || defined(_XPG3) || defined(_INCLUDE_HPUX_SOURCE) # define NSIG _NSIG #endif /* _XPG2 || _XPG3 || _INCLUDE_HPUX_SOURCE */ I couldn't find any mention of NSIG in posix, so I don't where it comes from. It may be useful to define though, in case other programs rely on it. Andrew -- _______ ___________________________________________________________ / Andrew Crabtree / Workgroup Networks Division ____ ___ / Hewlett-Packard / / / / Roseville, CA __/ __/ _____/ 916/785-1675 / andrewc AT rosemail DOT rose DOT hp DOT com ___________ __/ _____________________________________________________