mirror of
https://github.com/taglib/taglib.git
synced 2025-07-17 20:44:20 -04:00
Ignore warnings about OSAtomicIncrement32Barrier
The warnings suggest moving to std::atomic functions, but those are only available in C++11. It would be possible to switch to the C versions of those functions, which are now provided in stdatoic.h (in C11), but let's wait until we actually hit problems with this function and are a few more OS versions into C11 headers being included by default.
This commit is contained in:
@ -30,6 +30,7 @@
|
||||
#include "taglib.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
# define OSATOMIC_DEPRECATED 0
|
||||
# include <libkern/OSAtomic.h>
|
||||
# define TAGLIB_ATOMIC_MAC
|
||||
#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
|
||||
|
Reference in New Issue
Block a user