httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w..@netscape.com (Wan-Teh Chang)
Subject Re: apache-nspr-05
Date Sat, 09 May 1998 03:33:25 GMT


Dean Gaudet wrote:

> Oh darn.
>
> Hey are there a compile-time methods of detecting this?  Like:
>
> #if PR_FEATURE_TCPSOCKETPAIR
>     code which uses PR_NewTCPSocketPair
> #else
>     code which does it a more portable way
> #endif
>
> ...
>
> #if !PR_FEATURE_MMAP_FILES
> #error "sorry! you can't build this module for this version of NSPR!"
> #endif
>
> ?

No, we don't have feature-detection macros.

Wan-Teh


Mime
View raw message