Date: Thu, 26 Feb 1998 21:09:18 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: ambrisko@whistle.com (Doug Ambrisko) Cc: gurney_j@resnet.uoregon.edu, freebsd-hackers@FreeBSD.ORG Subject: Re: a chicken-egg problem with bootp and nfs_mountroot Message-ID: <199802270509.VAA28488@bubba.whistle.com> In-Reply-To: <199802270249.SAA20060@crab.whistle.com> from Doug Ambrisko at "Feb 26, 98 06:49:41 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Ambrisko writes: > Don't think so for example: > options "BOOTP_WIRED_TO=fxp0" > Then in a c-snippet: > strcmp(string,BOOTP_WIRED_TO) > Will change into > strcmp(string,fxp0) > which will fail to compile want > strcmp(string,"fxp0") > so for now I stick in a > #define BOOTP_WIRED_TO "fxp0" > in the code. #define Q(x) #x Then Q(asdf) returns "asdf" (as I remember). -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802270509.VAA28488>