Re: [off-topic] @|!?#=%""/ C preprocessor or @|!?#=%""/ me
Date: Mon, 11 Aug 2008 21:36:23 +0200
> Perhaps this?
> #define CURL_SUFFIX_CURL_OFF_T LL
> #define CURL_OFF_T_C_HELPER2(V, SUF) V##SUF
> #define CURL_OFF_T_C_HELPER1(V, SUF) CURL_OFF_T_C_HELPER2(V, SUF)
> #define CURL_OFF_T_C(V) CURL_OFF_T_C_HELPER1(V, CURL_SUFFIX_CURL_OFF_T)
Yes, yes, yes. At least here it works with gcc !!!
Is this standard enough to be incorporated in libcurl, or is it
abusing something and might fail easily ?
Too much autoconf scripting lately ;-)
Thanks a lot. really.
-- -=[Yang]=-Received on 2008-08-11