Re: __FreeBSD__ define
On Wed, 29 Mar 2006, Robert Millan wrote:
> Brian already answered about macros, but anyway, I was wondering: why not
> something like this instead?:
>
> #if HAVE_SYS_LIMITS_H
> #include <sys/limits.h>
> #elif HAVE_MACHINE_LIMITS_H
> #include <machine/limits.h>
> #endif
I don't know. I guess the rationale was that "if it's there it should
not hurt including it", and that holds true for every OS that Tor has
been compiled on, with the exception of FreeBSD which shouts at you :)
Peter
--
PGP signed and encrypted | .''`. ** Debian GNU/Linux **
messages preferred. | : :' : The universal
| `. `' Operating System
http://www.palfrader.org/ | `- http://www.debian.org/
Reply to: