sqlite: silence OSAtomicCompareAndSwapPtrBarrier warning
The deprecated OSAtomicCompareAndSwapPtrBarrier() function is used by a code path only taken on macOS systems with a single CPU. As very few Macs have a single CPU today, remove this optimization. (Replacing it with <stdatomic.h> as suggested would break compatability with macOS prior to 10.12.)
This commit is contained in:
@@ -6,6 +6,8 @@ if ENABLE_PTHREAD_SUPPORT
|
||||
AM_CPPFLAGS += -DSQLITE_THREADSAFE=1
|
||||
endif
|
||||
|
||||
AM_CPPFLAGS += -DSQLITE_WITHOUT_ZONEMALLOC=1
|
||||
|
||||
lib_LTLIBRARIES = libheimsqlite.la
|
||||
|
||||
noinst_HEADERS = sqlite3.h sqlite3ext.h
|
||||
|
Reference in New Issue
Block a user