Backported digitalPinToInterrupt macro from IDE 1.5.x