This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
How to tell if a file is being compiled as part of eCos?
- From: Grant Edwards <grante at visi dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 31 Jul 2008 15:52:19 +0000 (UTC)
- Subject: [ECOS] 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