[ECOS] How to tell if a file is being compiled as part of eCos?

Grant Edwards grante@visi.com
Thu Jul 31 15:52:00 GMT 2008


I have a file that contains portable code.  Since eCos doesn't
support C99 features like stdint.h, the file needs to know if
it's being compiled as part of eCos or not.

I can't seem to find any pre-processor symbols that tell me the
file is being built as part of eCos (the way that __linux__
tells me a file is being built to run under linux).

Any ideas?

-- 
Grant Edwards                   grante             Yow! My mind is making
                                  at               ashtrays in Dayton ...
                               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