It is not about Windows vs Mac, but more about Windows vs *nix.
As You can see in this topic Which OS do you develop on? Ratio is about 8 windows to 82 *nix. (Edit: more recent poll here: Which operating system do you develop on (Poll))
So You don’t need to buy a Mac, You can go the Linux way