summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-17 23:51:04 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-18 00:04:15 +0300
commit629cc605a45e75d6896b524eada2354c1d4d33a8 (patch)
treea9bea5727019feaf545706e5694692c4742c1085 /include
parent558aa44672fe3565dfe1eab82c8766f2f499ee0d (diff)
Intermediate commit of hacking on --disable-database-connectivity
Add HAVE_FEATURE_DBCONNECTIVITY to <config_features.h> instead of using (or not, more likely) -DDISABLE_DBCONNECTIVITY. The plan is still that database connectivity would be disabled always for the non-desktop platforms, and otherwise disabling it would be a configure option. But, still lots to do; the TiledLibreOffice iOS test app gets tons of undefineds when linking if I actually try to disable the database connectivity. Change-Id: If1e4b55faa1514cd55dec5fc5487a30d689739ac
Diffstat (limited to 'include')
-rw-r--r--include/connectivity/sqlparse.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/connectivity/sqlparse.hxx b/include/connectivity/sqlparse.hxx
index 15e29417a940..f6a7b0f4043b 100644
--- a/include/connectivity/sqlparse.hxx
+++ b/include/connectivity/sqlparse.hxx
@@ -19,10 +19,12 @@
#ifndef INCLUDED_CONNECTIVITY_SQLPARSE_HXX
#define INCLUDED_CONNECTIVITY_SQLPARSE_HXX
+#include <config_features.h>
+
#include <com/sun/star/uno/Reference.h>
#include <osl/mutex.hxx>
#include <connectivity/sqlnode.hxx>
-#ifndef DISABLE_DBCONNECTIVITY
+#if HAVE_FEATURE_DBCONNECTIVITY
#ifndef YYBISON
#ifndef FLEX_SCANNER
#include "sqlbison.hxx"