[ https://issues.apache.org/jira/browse/MESOS-7482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Rukletsov updated MESOS-7482: --------------------------------------- Summary: #elif does not match #ifdef when checking the platform. (was: #elif does not match #ifdef when checking the platform) > #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)