mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
dc062a0844d9d5050724302478f2d1c0cf0c813e
The 10.4 SDK defines OSAtomic functions as int32_t, while 10.5 and newer SDKs define them as volatile int32_t. This caused a compilation error when compiling against the 10.4 SDK. I'd have prefered a preprocessor-based solution, but I couldn't find any macro that says the SDK version, so I copied this cast solution from Apple's WebKit. I assume then know what they are doing if they have to workaround their own API. :)
Description
No description provided
Languages
C++
95.9%
CMake
2.5%
C
1.1%
Logos
0.5%