Date: Mon, 26 Aug 1996 13:21:55 +0200 (IST) From: Eli Zaretskii To: Lievre Ludovic Cc: djgpp AT delorie DOT com Subject: Re: Handling signals In-Reply-To: <32215F52.264C@mr.insa-tlse.fr> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 26 Aug 1996, Lievre Ludovic wrote: > I read in the FAQ (June), that DJGPP 2.0 can handle signals. I tried > that and it works (by examplke with SIGFPE), but with SIGINT, it doesn't > compile because, the SIGINT is not found in file #include(d) signal.h > I read this file, and by default is think that SIGINT is'nt defined. So SIGINT *is* defined on , but if you use -ansi switch to DJGPP, that definition is concealed from the compiler. If you use -ansi, just edit and move the definition of SIGINT before the #ifdndef _STRICT_ANSI line (SIGINT is an ANSI signal and should be defined even if -ansi is used; this will be corrected in the next DJGPP release). If you don't use -ansi, SIGINT should be known by GCC, so maybe something else in your program prevents it from recognizing it.