Very stupid code question regarding millis()

...it won't work on an ESP32, for example.