Hello, Attempting to use the Pre-release snapshot of SQLite 3.30.0 amalgamation in a [Catalyst]( https://developer.apple.com/ipad-apps-for-mac/) based project -- targeting UIKit for macOS -- fails with the error "'gethostuuid' is unavailable: not available on macCatalyst"
Adapting this conditional to exclude gethostuuid() for UIKit for macOS resolves the issue: #if defined(__APPLE__) && ((__MAC_OS_X_VERSION_MIN_REQUIRED > 1050) || \ (__IPHONE_OS_VERSION_MIN_REQUIRED > 2000)) # if (!defined(TARGET_OS_EMBEDDED) || (TARGET_OS_EMBEDDED==0)) \ && (!defined(TARGET_IPHONE_SIMULATOR) || (TARGET_IPHONE_SIMULATOR==0)) \ && (!defined(TARGET_OS_UIKITFORMAC) || (TARGET_OS_UIKITFORMAC==0)) # define HAVE_GETHOSTUUID 1 # else # warning "gethostuuid() is disabled." # endif #endif Further details are in my initial email thread from a few months ago: Adapt HAVE_GETHOSTUUID conditional for UIKit for macOS This issue impacts any custom builds/configurations of SQLite being built to target the Apple ecosystem. Cheers, Micah On Fri, Sep 27, 2019 at 6:17 AM Richard Hipp <d...@sqlite.org> wrote: > On 9/26/19, Raitses, Alex <alex.rait...@intel.com> wrote: > > Hello, > > I have noticed that security CVE > > (https://nvd.nist.gov/vuln/detail/CVE-2019-16168) has been submitted on > > SQLite. As far as I can see the patch was submitted to the trunk. > > Will CVE patch be included in the 3.30.0? > > Yes. https://www.sqlite.org/src/timeline?c=98357d8c1263920b33a3&y=ci > > -- > 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 > _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users