Work around missing OSAtomicCompareAndSwapPtrBarrier() on OS X 10.4

Not sure how to handle iOS.
1 file changed