Jim Gallacher wrote:
I'm not sure about the most elegant way to handle this situation. Perhaps something like:#if !AP_MODULE_MAGIC_AT_LEAST(20050127,0) #ifndef(AP_REG_EXTENDED) typedef regex_t ap_regex_t; #define AP_REG_EXTENDED REG_EXTENDED #define AP_REG_ICASE REG_ICASE #endif #endif
And of course I really meant to type: #ifndef AP_REG_EXTENDEDPatching src/include/mod_python.h.in accordingly fixes my compilation problem.
Jim