View | Details | Raw Unified | Return to bug 279397 | Differences between
and this patch

Collapse All | Expand All

(-)b/www/chromium/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c (-3 / +11 lines)
Lines 1-5 Link Here
1
--- third_party/sqlite/src/amalgamation/sqlite3.c.orig	2024-05-21 18:07:39 UTC
1
--- third_party/sqlite/src/amalgamation/sqlite3.c.orig	2024-05-24 00:40:42.096813200 +0200
2
+++ third_party/sqlite/src/amalgamation/sqlite3.c
2
+++ third_party/sqlite/src/amalgamation/sqlite3.c	2024-06-03 01:48:47.640404000 +0200
3
@@ -14119,7 +14119,7 @@ struct fts5_api {
4
 ** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
5
 ** it.
6
 */
7
-#if !defined(_XOPEN_SOURCE) && !defined(__DARWIN__) && !defined(__APPLE__)
8
+#if defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)
9
 #  define _XOPEN_SOURCE 600
10
 #endif
11
 
3
@@ -44777,7 +44777,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
12
@@ -44777,7 +44777,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
4
   memset(zBuf, 0, nBuf);
13
   memset(zBuf, 0, nBuf);
5
   randomnessPid = osGetpid(0);
14
   randomnessPid = osGetpid(0);
6
- 

Return to bug 279397