aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index c65e0f205..fdd82f991 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -527,6 +527,14 @@
# define SQLITE_DEFAULT_PCACHE_INITSZ 100
#endif
+/*
+** If SQLITE_INIT_SQLLOG is defined, then SQLITE_ENABLE_SQLLOG is
+** automatically defined as well.
+*/
+#if defined(SQLITE_INIT_SQLLOG) && !defined(SQLITE_ENABLE_SQLLOG)
+# define SQLITE_ENABLE_SQLLOG 1
+#endif
+
/*
** GCC does not define the offsetof() macro so we'll have to do it