You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marc Slemko <ma...@worldgate.com> on 1998/03/28 20:59:23 UTC

cpp question

Is this:

#define foo(x) printf(#x " = %s\n", x)

portable enough to use?


Re: cpp question

Posted by Dean Gaudet <dg...@arctic.org>.
Yes, we require ANSI C anyhow. ... and we use it in ap_assert() already. 
(And mod_test_util_uri ... but few people other than me have probably
compiled that.) 

Dean

On Sat, 28 Mar 1998, Marc Slemko wrote:

> Is this:
> 
> #define foo(x) printf(#x " = %s\n", x)
> 
> portable enough to use?
> 
>