[ECOS] Re: How to tell if a file is being compiled as part o f eCos?

Grant Edwards grante@visi.com
Fri Aug 1 16:44:00 GMT 2008


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



More information about the Ecos-discuss mailing list