96b44c622c
With the good help from googling, here's code that compiles for 10.6 natively. Will check on 10.7 and 10.8 right after commit.