On Tue, Feb 01, 2000, Thomas Hepper wrote:

> i have the problem building the php module with informix support if mod_ssl is 
>enabled. There is an name conflict
> with the informix includes. In ap_hook.h is an struct called ap_hook_value, 

> typedef union {
>     char   v_char;
>     int    v_int;
>     long   v_long;
>     float  v_float;
>     double v_double;
>     void  *v_ptr;
> } ap_hook_value;
> 
> Some of the v_ variables are also defined in infromix
> #define v_int           v_val.vint
> #define v_long          v_val.vlng
> #define v_float         v_val.vflo
> #define v_double        v_val.vdub
> 
> So, what is the correct way to solve this problem. As a temporary fix i have
> renamed all v_ to apv_ .....

Yes, renaming them is the only possibility, although you can do the
renaming in various ways: You can either rename them manually in the
EAPI source or you can rename them via additional #defines before
including ap_hook.h (or alternatively before including the informix
header) and #undefs behind.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to