On 03/16/2009 09:07 PM, Ryan Deemer wrote:
> Hi there,
> 
> I have a module which runs currently on httpd-2.0.63, and I would like to
> start using httpd-2.2 on some of the servers while leaving the remaining on
> httpd-2.0, as I am interested in some specific new features.
> 
> Can I build a single module which will load correctly on 2.0 and 2.2 without
> issues or will it have to be two independent binaries.

They have to be independent binaries as the ABI changed between 2.0 and 2.2

> 
> If there is no way I can use the same module, I would like to atleast
> maintain the same code base, so what is the best way to do it. Is setting
> compile time variable using #ifdef the best way out.

This should be possible. Depending on what your module does and what API's
it uses it is even possible that you need no #ifdef's at all.

Regards

RĂ¼diger

Reply via email to