From 3269dd3e704bc9880455b95bb67a490b5b503216 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 5 Aug 2014 12:34:08 +0000 Subject: If an old SQLite version doesn't provide SQLITE_DETERMINISTIC, simply ignore it, as using it is merely an optimization. Issue noticed by kristaps@. --- mansearch.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mansearch.c') diff --git a/mansearch.c b/mansearch.c index 259a1946..86a046f8 100644 --- a/mansearch.c +++ b/mansearch.c @@ -1,4 +1,4 @@ -/* $Id: mansearch.c,v 1.39 2014/07/24 20:30:45 schwarze Exp $ */ +/* $Id: mansearch.c,v 1.40 2014/08/05 12:34:08 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze @@ -38,6 +38,9 @@ #include "compat_ohash.h" #endif #include +#ifndef SQLITE_DETERMINISTIC +#define SQLITE_DETERMINISTIC 0 +#endif #include "mandoc.h" #include "mandoc_aux.h" -- cgit v1.2.3-56-ge451