Borland: Do not identify Clang-based Embarcadero compilers

The Borland compiler identification test matches any compiler that
defines __BORLANDC__, including the Clang-based Embarcadero compilers.
Those are identified as Embarcadero before Borland is tried, so the
result does not change, but exclude them so that the test matches only
the compilers it is meant to identify.
This commit is contained in:
Lee Cantey authored and Brad King committed 2026-10-28 14:58:31 -04:00
1 parent 641d5321a7
commit f29cfe2bf9
1 file changed
+1 -1
@@ -1,5 +1,5 @@
set(_compiler_id_pp_test "defined(__BORLANDC__)")
set(_compiler_id_pp_test "defined(__BORLANDC__) && !defined(__clang__)")
set(_compiler_id_version_compute "
/* __BORLANDC__ = 0xVRR */