-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oonf_api: use RIOT_VERSION as platform identifier for RIOT #2805
Conversation
Strong dislike. We have |
Independent from the question if we need this (see #2772), I would argue that a platform identifying macro is something completely else than the RIOT internal defines specifying the board or CPU. |
I tend to agree here, those defines should be enough.
That's why I'd go for |
5770cc9
to
fb29fe3
Compare
Ok. |
fb29fe3
to
a054a98
Compare
Agree with @Kijewski and @kaspar030, |
Sounds good to me. ACK if Travis is fine. |
Please change the commit message to use the module as a prefix. (Compare git log) |
kicked Travis |
For the record: Travis is green - if you just change the commit message, we're ready to go. |
a054a98
to
7a2b705
Compare
Am Wed, 15 Apr 2015 22:52:58 -0700
done |
and go |
oonf_api: use RIOT_VERSION as platform identifier for RIOT
Some third-party code my come with
#ifdef
s to conditionally compile some parts for RIOT, while maintaining the possibility to compile for Linux, Windows, etc.This makes
oonf_api
check ifRIOT_VERSION
is defined for RIOT specific codepaths.fixes #2772