Fix the interpretation of @#elseif clauses within an @#ifdef or @#ifndef

(cherry picked from commit 5d564eed)
parent 8207886e
Pipeline #4307 passed with stages
in 2 minutes and 53 seconds