This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]