This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: about __ECOS
zhulin@digitalchina.com writes:
> hi,
> i study the install/include/*.h,
> i find some *.h file use "__ECOS" flag.
> but i cant find where "__ECOS" flag is defined.how can i resolve it.
> so i have to write myself .h file to define "__ECOS" flag,as following:
> #ifndef __ECOS
> #define __ECOS
> #endif
__ECOS is added to the compiler flags by the CDL of the packages that
need it. These are all packages that have been imported from
elsewhere and use __ECOS to customize the code.
You should not define it yourself.
--
Nick Garnett - eCos Kernel Architect
http://www.eCosCentric.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss