Moved the #ifdef, since you need to include pico_config first then to check if the symbol is defined.