On Fri, Sep 13, 2002 at 02:34:49PM -0700, Greg Stein wrote:
> The #if logic is awfully hair. I'd recommend creating some internal symbols
> that describe the semantics of what you're checking for.
> 
> For example:
> 
> #if !defined(SOMETHING) && !defined(OR_OTHER)
> #define NO_SHARED_MEM
> #endif
> ...
> 
> #ifdef NO_SHARED_MEM
> ...

I considered that, but thought that might cause some confusion if we
ever need to add more symbols to the set, but on second thought it's
probably not a big deal even if we do.

I'll work on something cleaner this afternoon.

-aaron

Reply via email to