aboutsummaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2006-01-06 21:52:49 +0000
committerdrh <drh@noemail.net>2006-01-06 21:52:49 +0000
commit198bf391287b72ce27348e48d2e8cc2848c34c03 (patch)
treea233cf7a63d02b5399a1b97cd5f9eabe045b9114 /src/util.c
parent9e9fe6f87717465d9d05608dba4833a5b1bfae61 (diff)
downloadsqlite-198bf391287b72ce27348e48d2e8cc2848c34c03.tar.gz
sqlite-198bf391287b72ce27348e48d2e8cc2848c34c03.zip
Changes so that SQLITE_OMIT_PARSER and SQLITE_OMIT_DISKIO work. (CVS 2878)
FossilOrigin-Name: 9d71b7deaffdd7eb9ddad1f03df3e4c51c2cbd98
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index a37b68938..ebdcfb597 100644
--- a/src/util.c
+++ b/src/util.c
@@ -14,7 +14,7 @@
** This file contains functions for allocating memory, comparing
** strings, and stuff like that.
**
-** $Id: util.c,v 1.161 2006/01/06 14:32:20 drh Exp $
+** $Id: util.c,v 1.162 2006/01/06 21:52:50 drh Exp $
*/
#include "sqliteInt.h"
#include "os.h"
@@ -66,7 +66,7 @@
#define MAX(x,y) ((x)>(y)?(x):(y))
-#ifndef SQLITE_OMIT_MEMORY_MANAGEMENT
+#if !defined(SQLITE_OMIT_MEMORY_MANAGEMENT) && !defined(SQLITE_OMIT_DISKIO)
/*
** Set the soft heap-size limit for the current thread. Passing a negative
** value indicates no limit.