BLI: Correct spin lock definition
The MSVC atomic function is defined for an unsigned type. Not sure why this became an issue after switch to TBB by default, maybe some CFLAGS changed to be more strict after that.
This commit is contained in:
parent
dad3de89dc
commit
0edf2fc128
|
@ -107,7 +107,7 @@ typedef uint32_t SpinLock;
|
|||
#elif defined(__APPLE__)
|
||||
typedef ThreadMutex SpinLock;
|
||||
#elif defined(_MSC_VER)
|
||||
typedef volatile int SpinLock;
|
||||
typedef volatile unsigned int SpinLock;
|
||||
#else
|
||||
typedef pthread_spinlock_t SpinLock;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue