Macs, in my experience, tend to be a little pickier about RAM than PCs so RAM that's listed as "Mac compatible" in theory at least meets the specs required by Apple. It should work in any machine that uses that type of RAM fine though. I've repurposed a lot of RAM from my Macs into other machines just fine over the years.