0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-03-08 23:41:50 +00:00
Glauber Costa d3a156caf5 bundle SQLean extensions
A common complain with libSQL is how to run extensions. The main
mechanism, with a .so, has a lot of issues around how those .so are
distributed.

The most common extensions are the ones in the sqlean package. We can
improve this experience by bundling them in our sqlite build.

Not all SQLean extensions are kosher: some of them, like fileio, use
the vfs. Others, are deemed too complex.

The extensions included here are a subset that we deem important enough,
and low risk enough, to just be a part of the main bundle.
2025-01-16 22:25:16 -05:00

19 lines
350 B
C

// Copyright (c) 2023 Anton Zhiyanov, MIT License
// https://github.com/nalgeon/sqlean
// PCRE2 build constants.
#ifndef REGEXP_CONSTANTS_H
#define REGEXP_CONSTANTS_H
#define PCRE2_CODE_UNIT_WIDTH 8
#define LINK_SIZE 2
#define HAVE_CONFIG_H
#define SUPPORT_UNICODE
#if defined(_WIN32)
#define PCRE2_STATIC
#endif
#endif /* REGEXP_CONSTANTS_H */