diff options
author | larrybr <larrybr@noemail.net> | 2021-07-08 22:12:27 +0000 |
---|---|---|
committer | larrybr <larrybr@noemail.net> | 2021-07-08 22:12:27 +0000 |
commit | f382e1dc591af80c3fbd10ca2b46bb27f1cade1c (patch) | |
tree | 7490d4b10ef3d41cd6ac117ac5d564851209f9af /src/sqliteInt.h | |
parent | bd24e8faa37592c02fc4e7c1fded2e6bd924e8a4 (diff) | |
download | sqlite-f382e1dc591af80c3fbd10ca2b46bb27f1cade1c.tar.gz sqlite-f382e1dc591af80c3fbd10ca2b46bb27f1cade1c.zip |
Allow library build to #include a user-specified header.
FossilOrigin-Name: 71e6490bbe59939cd15f0094e507dd8a2e167fdd8de675c3ebfeaf528a01f87a
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 4d92703f1..b19325d70 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -181,6 +181,16 @@ # define _USE_32BIT_TIME_T #endif +/* Optionally #include a user-defined header, whereby compilation options +** may be set prior to where they take effect, but after platform setup. +** If SQLITE_CUSTOM_INC=? is defined, its value names the #include file. +*/ +#ifdef SQLITE_CUSTOM_INC +# define INC_STRINGIFY_(f) #f +# define INC_STRINGIFY(f) INC_STRINGIFY_(f) +# include INC_STRINGIFY(SQLITE_CUSTOM_INC) +#endif + /* The public SQLite interface. The _FILE_OFFSET_BITS macro must appear ** first in QNX. Also, the _USE_32BIT_TIME_T macro must appear first for ** MinGW. |