From 378738aaa9924d0b95e2c57f27cbad2b2e644282 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Tue, 26 Apr 2022 09:34:34 -0500 Subject: =?UTF-8?q?Issue=20#1829=20-=20Revert=20=E2=80=9CIssue=20#1751=20-?= =?UTF-8?q?=20Remove=20Mac=20code=20behind=20MOZ=5FWIDGET=5FTOOLKIT=20=3D?= =?UTF-8?q?=3D=20'cocoa=E2=80=99=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1fe9c19305dadf2d5bcaa0e589fcd250389dfa8a. --- db/sqlite3/src/moz.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'db') diff --git a/db/sqlite3/src/moz.build b/db/sqlite3/src/moz.build index 327e77677a..1ffc326f8a 100644 --- a/db/sqlite3/src/moz.build +++ b/db/sqlite3/src/moz.build @@ -45,6 +45,10 @@ if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows': DEFINES['SQLITE_WIN32_GETVERSIONEX'] = 0 DEFINES['SQLITE_ALLOW_URI_AUTHORITY'] = 1 +# -DSQLITE_ENABLE_LOCKING_STYLE=1 to help with AFP folders +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': + DEFINES['SQLITE_ENABLE_LOCKING_STYLE'] = 1 + # sqlite defaults this to on on __APPLE_ but it breaks on newer iOS SDKs if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'uikit': DEFINES['SQLITE_ENABLE_LOCKING_STYLE'] = 0 -- cgit v1.2.3