You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/05/01 17:17:55 UTC

Re: [PATCH] fix for QNX

+1


> Fix the problem with signal being redefined on QNX.
> 
> Commentary: I debated whether to make this a QNX only thing, but in the end it
> seemed pointless to me.
> 
> Cheers,
> 
> Ben.
> 
> Index: conf.h
> ===================================================================
> RCS file: /export/home/cvs/apache/src/conf.h,v
> retrieving revision 1.95
> diff -c -r1.95 conf.h
> *** conf.h      1997/04/27 07:52:17     1.95
> --- conf.h      1997/05/01 12:33:39
> ***************
> *** 641,646 ****
> --- 641,652 ----
>   #define SIG_ERR ((Sigfunc *)-1)
>   #endif
> 
> + /*
> +  * For some strange reason, QNX defines signal to signal. Eliminate it.
> +  */
> + #ifdef signal
> + #undef signal
> + #endif
>   #define signal(s,f)   ap_signal(s,f)
>   Sigfunc *signal(int signo, Sigfunc *func);
>   #endif
> 
> -- 
> ** Buy "Apache: The Definitive Guide" from http://www.links.org/apache **
> Ben Laurie                Phone: +44 (181) 994 6435  Email: ben@algroup.co.uk
> Freelance Consultant and  Fax:   +44 (181) 994 6472
> Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
> A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
> London, England.          Apache-SSL author