apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@apache.org>
Subject Re: cvs commit: apr-util/include apr_xlate.h apu.h.in apu.hnw apu.hw
Date Fri, 19 Jul 2002 17:55:52 GMT
Ugh.  Is there some reason we don't use normal symbol wrappers
instead of this macro argument name replacement stuff?

....Roy

On Friday, July 19, 2002, at 01:32  AM, wrowe@apache.org wrote:
>   +#if APR_HAS_APR_ICONV
>   +#define HAVE_ICONV
>   +#define iconv_(n) apr_iconv_##n
>   +#else
>   +#define iconv_(n) iconv_##n
>   +#endif
>   +
>    #ifndef min
>    #define min(x,y) ((x) <= (y) ? (x) : (y))
>    #endif
>   @@ -95,7 +102,7 @@
>        char *topage;
>        char *sbcs_table;
>    #ifdef HAVE_ICONV
>   -    iconv_t ich;
>   +    iconv_(_t) ich;
>    #endif
>    };


Mime
View raw message