diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-05 12:34:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-08-05 12:34:08 +0000 |
commit | d2b3f0c9cdd5730d0a2af274b777dd8d1ad53d57 (patch) | |
tree | 403aa4c451485353ebbf0d56018b16875b2d4cba /mansearch.c | |
parent | e35f29f762b02cef57c819210ca7db2a0afc30a8 (diff) | |
download | mandoc-d2b3f0c9cdd5730d0a2af274b777dd8d1ad53d57.tar.gz |
If an old SQLite version doesn't provide SQLITE_DETERMINISTIC,
simply ignore it, as using it is merely an optimization.
Issue noticed by kristaps@.
Diffstat (limited to 'mansearch.c')
-rw-r--r-- | mansearch.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mansearch.c b/mansearch.c index 96e07388..b6e552e6 100644 --- a/mansearch.c +++ b/mansearch.c @@ -38,6 +38,9 @@ #include "compat_ohash.h" #endif #include <sqlite3.h> +#ifndef SQLITE_DETERMINISTIC +#define SQLITE_DETERMINISTIC 0 +#endif #include "mandoc.h" #include "mandoc_aux.h" |