aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-08-19 23:51:54 +0000
committerdrh <drh@noemail.net>2020-08-19 23:51:54 +0000
commit14f38b3d0a069474b716296846cbffb6fadfd4f9 (patch)
tree0bf2b5c2c82068638e802aa67648ab74a3fa2ead /src/os_unix.c
parent46fe138d98664b30ada114b1f76b52e95d00575c (diff)
downloadsqlite-14f38b3d0a069474b716296846cbffb6fadfd4f9.tar.gz
sqlite-14f38b3d0a069474b716296846cbffb6fadfd4f9.zip
Try to make SQLite easier to compiler for Mac Catalyst. See
[https://sqlite.org/forum/forumpost/803387a1c5|forum post 803387a1c5]. FossilOrigin-Name: e1595a20d71e61957944cc2b634578968cda8fba08a1f1e75edba20dc9c6080b
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index fc5415333..c9b59f229 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -122,7 +122,8 @@
# 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_IPHONE_SIMULATOR) || (TARGET_IPHONE_SIMULATOR==0))\
+ && (!defined(TARGET_OS_MACCATALYST) || (TARGET_OS_MACCATALYST==0))
# undef HAVE_GETHOSTUUID
# define HAVE_GETHOSTUUID 1
# else