summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/database.h b/server/src/database.h
index 85f8cd7..bd3139e 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -77,7 +77,9 @@ public:
void disconnect() {}
private:
+#ifndef WITHOUT_DB
pqxx::connection c;
+#endif/*WITHOUT_DB*/
};
#endif/*__PRACRO_DATABASE_H__*/