use defined() in ifdefs if combined with others