add ifdef to header