apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: [PATCH] APR WCE
Date Tue, 29 Jan 2002 19:59:00 GMT
From: "Greg Stein" <gstein@lyra.org>
Sent: Tuesday, January 29, 2002 1:38 PM


> Bill. Stop and think for a moment.
> 
> HAVE_FOO created problems because *we* defined that symbol.
> 
> _MSC_VER is not *defined* by us. We're just looking for it.
> 
> Thus, it is acceptable to *check* for it. Not to define, but to *check*.

Then to be robust and useful;

#if defined(WIN32) && defined(_MSC_VER) 

is entirely safe by me.  With that, I'm agreed, even in the public .h's :)


Mime
View raw message