That's unfortunately not true, it's actually the opposite. The EU is bringing in legally mandatory gender quotas for corporate boards right now, and some European countries have had such rules already at the national level.
The US does in fact ban discrimination like that, but the rules weren't enforced (or rather they were enforced in one direction only). The EU has simply changed the rules.
Parent post was talking about employment. Members of the board of directors are not employees. Management is also typically not covered by most employee protections in EU countries.
The GP is still generally correct. In Canada, there are now some job postings that are only open to candidates of the appropriate race, gender or sexual orientation. These job postings would be illegal in the United States, but are allowed in Canada as long as the discrimination is intended to correct for historical injustice.