Preprocessor #if statement doesn't work

Oops, I just noticed you are using the ESP32. That is not an Arduino.