Mail Archives: djgpp/1999/11/28/08:15:53
On Sat, 27 Nov 1999, Morpheus wrote:
> Does anyone know where these constants are in the djgpp library? I thought
> they'd be in signal.h, but they're not. Does djgpp have equivalents for them
> in signal.h?
These signals are non-portable (neither ANSI nor Posix require them),
and DJGPP doesn't support them. You can never have SIGBUS or SIGSYS
in a DJGPP program. That's why you don't find them in signal.h.
Any portable code should only use non-standard signal names if they
are defined, like this:
#ifdef SIGBUS
put here the code that uses SIGBUS
#endif
If the program you are trying to compile doesn't do that, I suggest to
report this to the program's maintainer.
- Raw text -