mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-08 10:50:28 +00:00
Update icu paths in SQLite (reapply 367d06d9
)
This commit is contained in:
parent
823ed34464
commit
d5f6ad13cf
2 changed files with 7 additions and 15 deletions
12
third_party/sqlite3/fts3_icu.c
vendored
12
third_party/sqlite3/fts3_icu.c
vendored
|
@ -15,14 +15,10 @@
|
|||
#if !defined(SQLITE_CORE) || defined(SQLITE_ENABLE_FTS3)
|
||||
#ifdef SQLITE_ENABLE_ICU
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include "fts3_tokenizer.h"
|
||||
|
||||
#include <unicode/ubrk.h>
|
||||
#include <unicode/ucol.h>
|
||||
#include <unicode/ustring.h>
|
||||
#include <unicode/utf16.h>
|
||||
#include "libc/assert.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/str/unicode.h"
|
||||
#include "third_party/sqlite3/fts3_tokenizer.h"
|
||||
|
||||
typedef struct IcuTokenizer IcuTokenizer;
|
||||
typedef struct IcuCursor IcuCursor;
|
||||
|
|
10
third_party/sqlite3/icu.c
vendored
10
third_party/sqlite3/icu.c
vendored
|
@ -33,15 +33,11 @@
|
|||
|| defined(SQLITE_ENABLE_ICU_COLLATIONS)
|
||||
|
||||
/* Include ICU headers */
|
||||
#include <unicode/utypes.h>
|
||||
#include <unicode/uregex.h>
|
||||
#include <unicode/ustring.h>
|
||||
#include <unicode/ucol.h>
|
||||
|
||||
#include <assert.h>
|
||||
#include "libc/assert.h"
|
||||
#include "libc/str/unicode.h"
|
||||
|
||||
#ifndef SQLITE_CORE
|
||||
#include "sqlite3ext.h"
|
||||
#include "third_party/sqlite3/sqlite3ext.h"
|
||||
SQLITE_EXTENSION_INIT1
|
||||
#else
|
||||
#include "third_party/sqlite3/sqlite3.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue