From: Aaron Marcher Date: Wed, 21 Mar 2018 11:21:37 +0000 (+0100) Subject: More robust preprocessor switches X-Git-Url: https://git.xinqibao.xyz/slstatus.git/commitdiff_plain/e79d4932ea413c277425ff92c456741e0730c3d6?ds=inline;hp=e79d4932ea413c277425ff92c456741e0730c3d6 More robust preprocessor switches Replace #ifdef with #if defined() and #elif with #elif defined() as it should only test if it is defined or not. ---