Chun-Hung Hsiao created MESOS-7482:
--------------------------------------
Summary: #elif does not match #ifdef when checking the platform
Key: MESOS-7482
URL: https://issues.apache.org/jira/browse/MESOS-7482
Project: Mesos
Issue Type: Bug
Reporter: Chun-Hung Hsiao
Assignee: Chun-Hung Hsiao
Priority: Trivial
Fix For: 1.3.0
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)