#ifndef module_magic_number_major
#DEFINE MODULE_MAGIC_NUMBER_MAJOR 19980917
#ENDIF
#DEFINE MODULE_MAGIC_NUMBER_MINOR 0 / * 0 ... n * /
#DEFINE MODULE_MAGIC_NUMBER MODULE_MAGIC_NUMBER_MAJOR / * BACKWARD COMPAT * /
/ * Useful for testing for features. * /
#define module_magic_at_least (Major, Minor) /
(Major)> module_magic_number_major /
|| ((Major) == Module_magic_Number_major /
&& (minor)> = MODULE_MAGIC_NUMBER_MINOR)))
/ * For esample, suppose you wish to use the ap_overlap_tables
Function. You can do this:
#if module_magic_at_least (19980812, 2)
... USE AP_OVERLAP_TABLES ()
#ELSE
... Alternative Code Which Doesn't Use AP_OVERLAP_TABLES ()
#ENDIF
* /
#ENDIF / *! Apache_ap_mmn_h * /