[sr-dev] git:5.1:26da74e4: core: ensure index of preprocessor directive conditions is not negative