httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject [PATCH] fix for QNX
Date Thu, 01 May 1997 13:05:53 GMT
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

Mime
View raw message