Provide compat classes only in compat builds.
Don't provide the two legacy protocol classes if we're building without
legacy compatibility.
@implementation Object @end
+#ifdef OLDABI_COMPAT
@implementation ProtocolGCC @end
@implementation ProtocolGSv1 @end
+#endif
PRIVATE void link_protocol_classes(void)
{
[Protocol class];
+#ifdef OLDABI_COMPAT
[ProtocolGCC class];
[ProtocolGSv1 class];
+#endif
}
