> __FreeBSD_version is defined in sys/sys/param.h. The closest for your case is: > 501112 from October 16th. > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h > > I'd rather suggest using an unconditional patch which introduces #ifdef > EAI_NODATA where required. That is future save (as the comment notes that > EAI_NODATA will go forever on Apr 23th). Well, that's tougher, since EAI_NODATA is defined (it's defined to be EAI_NODATA). Hmm... would this work? I'm not too 100% secure about preprocessing stuff. If this should work, I could try to get it included in the normal kaffe tree. #if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME ... #endif Perhaps I should put a defined(__FREEBSD__) somewhere in there as well. #if !defined(__FREEBSD__) || (defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME) Something like that? Mark -- Nice testing in little China...Received on Wed Dec 31 2003 - 04:26:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC