Le 6 mars 07 à 22:11, Joshua Slive a écrit :

On 3/6/07, Joost de Heer <[EMAIL PROTECTED]> wrote:
Xavier Beaudouin schreef:
> Hello,
>
> I am trying to find a portable way to find what is the version of apache
> during compilation of a third party module.

In include/ap_release.h, the macros AP_SERVER_MAJORVERSION_NUMBER,
AP_SERVER_MINORVERSION_NUMBER and AP_SERVER_PATCHLEVEL_NUMBER are defined.

Also see MODULE_MAGIC_NUMBER (major and minor) from ap_mmn.h, which is
a better way to determine API-compatibility.

Thank Joshua, this helped me a lots !

/Xavier

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to