ifdef is not wrong. 

In GCC, `-DFOO=1` means `-DFOO`

-D name
           Predefine name as a macro, with definition 1.

-D name=definition

Reply via email to