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. Joshua.
