On 28-05-2008 17:44:17 +0200, Ying Zhang wrote:
> Dear all,
> 
> I use HOST_NAME_MAX in my code.  Compiling the code on a CWI machine  
> does not have any problem, however, compilation on Mac OS 10.5  
> complains that HOST_NAME_MAX is not defined.  fgrep on mac 10.5 says:
> 
> $fgrep -r HOST_NAME_MAX /usr/include/*
> /usr/include/limits.h:#define _POSIX_HOST_NAME_MAX    255
> /usr/include/unistd.h:#define _SC_HOST_NAME_MAX               72
> 
> How (and where) can I add proper check to define HOST_NAME_MAX for  
> darwin 9?

Create a configure check, or define it within guards when it's not
defined.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-developers

Reply via email to