[Edit: On reflection, you're addressing a different topic. The question the rest of us are talking about is "was Pascal that bad?". And the answer is, "yes".
You want to talk about something else - Pascal vs. C. But in C, you could at least do "#ifdef Compiler_A" to achieve "portability". Yeah, it's not very good portability, but you could get to one source file that would compile with different compilers. For Pascal, so far as I know, you couldn't do even that much.]
Or was it that all post-Jensen-&-Wirth dialects supported conditional compilation, and I don't remember it because I was stuck on Jensen & Wirth?
Object Pascal (Apple) and Turbo Pascal used {$if ...}
VMS Pascal used %IF.
UCSD Pascal used {$B}.
I grant they weren't uniform, but they were available.
Both Free Pascal and Delphi support conditional compilation and have done for a long time:
http://docwiki.embarcadero.com/RADStudio/Rio/en/Conditional_...
In fact, the article was about Pascal circa 1981, so I'm not sure why you think the discussion ought to be about present-day Pascal.
In a few cases, like TeX and STiP, the solution was to write in standard Wirth and Jensen Pascal, despite the inconveniences. Most people instead resigned themselves to writing nonportable code.
By the way, I see that the comment window has closed, but I'm still interested in your thoughts on https://news.ycombinator.com/item?id=22083468 — it represented a fair bit of effort on my part, and it's disappointing that you haven't answered at all.