a sample to use ifdef and defined()