Date: Fri, 10 Oct 1997 10:09:51 +0200 (MET DST) From: Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE> To: joe@pavilion.net (Josef Karthauser) Cc: questions@FreeBSD.ORG Subject: Re: Locally defining system constants? Message-ID: <199710100809.KAA27210@rvc1.informatik.ba-stuttgart.de> In-Reply-To: <19971009112106.47889@pavilion.net> from Josef Karthauser at "Oct 9, 97 11:21:06 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> I need to redefine FD_SETSIZE to a larger value on a local machine > and don't know the best way to do it so that it doesn't get stomped > on every cvsup. Currently I'm defining it in /usr/src/sys/sys/types.h, > but it should be able to be defined externally (in make.conf?). > > Does anyone know how? Set CFLAGS= -DFD_SETSIZE=1024 in /etc/make.conf. But I doubt you need to set FD_SETSIZE system wide. The value provided in <sys/types.h> is a *default* value, that can and should be set to the user choosen value in the local make file or in the C source (before including <sys/types.h>). Wolfgang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199710100809.KAA27210>