aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-27 18:34:18 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-27 18:34:18 +0200
commit8c41d647fab4dfbd0a9979514f95431dfc19e00b (patch)
tree55a1634b0ccaf337ee12dc54d5b11f6c4bb4f391 /odb/sqlite/makefile
parent4e31e3dcf3efcc20ca3aee6f888fe3ec56ba78e3 (diff)
Detect if column metadata functions are available
For example, system-default build of SQLite doesn't have SQLITE_ENABLE_COLUMN_METADATA.
Diffstat (limited to 'odb/sqlite/makefile')
-rw-r--r--odb/sqlite/makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/odb/sqlite/makefile b/odb/sqlite/makefile
index 812e153..abee73e 100644
--- a/odb/sqlite/makefile
+++ b/odb/sqlite/makefile
@@ -89,6 +89,7 @@ $(out_base)/details/config.h: | $(out_base)/details/.
@echo '#if SQLITE_VERSION_NUMBER >= 3006012' >>$@
@echo ' #define LIBODB_SQLITE_HAVE_UNLOCK_NOTIFY 1' >>$@
@echo '#endif' >>$@
+ @echo '#define LIBODB_SQLITE_HAVE_COLUMN_METADATA 1' >>$@
@echo '' >>$@
@echo '#endif /* ODB_SQLITE_DETAILS_CONFIG_H */' >>$@