From 8c41d647fab4dfbd0a9979514f95431dfc19e00b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 27 Jan 2016 18:34:18 +0200 Subject: Detect if column metadata functions are available For example, system-default build of SQLite doesn't have SQLITE_ENABLE_COLUMN_METADATA. --- odb/sqlite/makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'odb/sqlite/makefile') 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 */' >>$@ -- cgit v1.1