[
https://issues.apache.org/jira/browse/MESOS-7482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Park updated MESOS-7482:
--------------------------------
Target Version/s: 1.4.0
Fix Version/s: (was: 1.3.0)
> #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
>
> 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)