Just to be picky, not any transponder. The Mode A/C only transponder needs to be capable of responding to Mode C only all-call interrogations (although the replies can be empty of altitude content). The TCAS equipped aircraft can then track a threat target and provide TA as necessary. There aren't many Mode A only capable transponders around any more, thankfully.