From 98b90925d863531c3a6c75de15fb686b1fb1891f Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 4 Aug 2008 10:31:45 +0000 Subject: Made server able to run (compile-time) without postgres and the uploadserver. Fixed problems in the exclusion of pentominos support. Fixed bug in db query field iteration. --- server/src/database.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/src/database.h') 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__*/ -- cgit v1.2.3