What about doing something like this: #ifdef SOLARIS2 == 8 #define BSD_COMP #endif
The problem is that the BSD_COMP flag is only needed for ONE of the native source files for each connector type (JK, JK2). I don't know, haven't investigated if turning this on activates any other conditional includes which may change the behavior of the connectors... Paul : -----Original Message----- : From: jean-frederic clere : [mailto:jfrederic.clere@;fujitsu-siemens.com] : Sent: Thursday, November 07, 2002 10:51 AM : To: Tomcat Developers List : Subject: Re: cvs commit: : jakarta-tomcat-connectors/jk/native2/common jk_channel_socket.c : : : Mladen Turk wrote: : > Personally don't like hardcoded defines. : > Could that be guessed or forced in makefiles? : : It must be guessed in the configure... : : > : > : >> : >> +/* affects include files on Solaris (for FIONBIO on : Solaris 8) */ : >> +#define BSD_COMP : > : > : > MT. : > : > : > : > -- : > To unsubscribe, e-mail: : <mailto:tomcat-dev-: [EMAIL PROTECTED]> : > For : additional commands, : e-mail: : > <mailto:tomcat-dev-help@;jakarta.apache.org> : > : > : : : : : -- : To unsubscribe, e-mail: : <mailto:tomcat-dev-: [EMAIL PROTECTED]> : For : additional commands, : e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org> : -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>