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:
Luke Howard
2020-07-20 13:41:53 +10:00
parent bb7b4f7a94
commit ee7e345af1

View File

@@ -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