Details
-
Bug
-
Status: Reviewable
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
When doing conditional compilation for different platforms, we mostly use #ifdef X ... #elif defined(Y) ... #endif. But there are some places in the codebase that uses #elif Y. Although in the current GCC checking either the existence or the value of a platform macro works, making the checks more consistent is more preferable.