On 10/1/16, David Goldwich <[email protected]> wrote: > On Sat, Oct 1, 2016 at 4:41 PM, Simon Slavin <[email protected]> wrote: >> According to a 2012 post from DRH, try this compilation option: >> >> -DSQLITE_WITHOUT_ZONEMALLOC > > Another, probably better way would be -DOSATOMIC_USE_INLINED=1. That > will transparently substitute legacy atomic op interfaces with their > <stdatomic.h> counterparts if targeting macOS 10.12+ or iOS 10.0+ > (cmp. <libkern/OSAtomicDeprecated.h>). > > It might be a good idea if SQLite itself defined this before including > <libkern/OSAtomic.h>.
The code in question is here: https://www.sqlite.org/src/artifact/6919bcf12f?ln=255-256 If you look a few lines above, you'll see that the code only runs on single-core iOS device. Which is to say, it only runs on an iWatch. -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

