On 10/1/16, David Goldwich <david.goldw...@gmail.com> wrote:
> On Sat, Oct 1, 2016 at 4:41 PM, Simon Slavin <slav...@bigfraud.org> 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
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to