How to use ifdef