This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: How to tell if a file is being compiled as part o f eCos?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 1 Aug 2008 16:43:48 +0000 (UTC)
- Subject: [ECOS] Re: How to tell if a file is being compiled as part o f eCos?
- References: <E8269B3B134D0449B017B595BDBEAB84062461@mail.systech.com>
On 2008-08-01, Jay Foster <jay@systech.com> wrote:
> Yes, I saw that too, but that sys/param.h file is only
> included if you are using the BSD TCP/IP network stack
> (package), which I didn't know if you were (or would always
> be) with your application.
I am (and always will be). But you're right -- that means it
not a good general solution. I vote that the global default
CFLAGS value include -D__ECOS.
--
Grant Edwards grante Yow! ... I don't like FRANK
at SINATRA or his CHILDREN.
visi.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss