Fossil SCM
Change the typedef of u32 in search.c so that it works in older PPC macs.
Commit
f82caec579e3313e35122a866069a72e34d5ebf1392512f366491bf35a2ba5fc
Parent
53db40e6fcd69e5…
1 file changed
+2
+2
| --- src/search.c | ||
| +++ src/search.c | ||
| @@ -2145,12 +2145,14 @@ | ||
| 2145 | 2145 | ** https://sqlite.org/src/finfo?name=ext/fts5/fts5_test_mi.c |
| 2146 | 2146 | */ |
| 2147 | 2147 | |
| 2148 | 2148 | typedef struct Fts5MatchinfoCtx Fts5MatchinfoCtx; |
| 2149 | 2149 | |
| 2150 | +#if INTERFACE | |
| 2150 | 2151 | #ifndef SQLITE_AMALGAMATION |
| 2151 | 2152 | typedef unsigned int u32; |
| 2153 | +#endif | |
| 2152 | 2154 | #endif |
| 2153 | 2155 | |
| 2154 | 2156 | struct Fts5MatchinfoCtx { |
| 2155 | 2157 | int nCol; /* Number of cols in FTS5 table */ |
| 2156 | 2158 | int nPhrase; /* Number of phrases in FTS5 query */ |
| 2157 | 2159 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -2145,12 +2145,14 @@ | |
| 2145 | ** https://sqlite.org/src/finfo?name=ext/fts5/fts5_test_mi.c |
| 2146 | */ |
| 2147 | |
| 2148 | typedef struct Fts5MatchinfoCtx Fts5MatchinfoCtx; |
| 2149 | |
| 2150 | #ifndef SQLITE_AMALGAMATION |
| 2151 | typedef unsigned int u32; |
| 2152 | #endif |
| 2153 | |
| 2154 | struct Fts5MatchinfoCtx { |
| 2155 | int nCol; /* Number of cols in FTS5 table */ |
| 2156 | int nPhrase; /* Number of phrases in FTS5 query */ |
| 2157 |
| --- src/search.c | |
| +++ src/search.c | |
| @@ -2145,12 +2145,14 @@ | |
| 2145 | ** https://sqlite.org/src/finfo?name=ext/fts5/fts5_test_mi.c |
| 2146 | */ |
| 2147 | |
| 2148 | typedef struct Fts5MatchinfoCtx Fts5MatchinfoCtx; |
| 2149 | |
| 2150 | #if INTERFACE |
| 2151 | #ifndef SQLITE_AMALGAMATION |
| 2152 | typedef unsigned int u32; |
| 2153 | #endif |
| 2154 | #endif |
| 2155 | |
| 2156 | struct Fts5MatchinfoCtx { |
| 2157 | int nCol; /* Number of cols in FTS5 table */ |
| 2158 | int nPhrase; /* Number of phrases in FTS5 query */ |
| 2159 |