summaryrefslogtreecommitdiff
path: root/server/src/pracrodaopgsql.h
diff options
context:
space:
mode:
authordeva <deva>2009-02-17 12:07:03 +0000
committerdeva <deva>2009-02-17 12:07:03 +0000
commit417532e9def7d5568ec9804a65078f2b42707a4a (patch)
treeef26189f18fe19a4b9a92a8b07b957688e6e0eca /server/src/pracrodaopgsql.h
parent8dde5e5e15434eb83e8514220973e3cf8b56a393 (diff)
Made the --with-db=no configure option actually compile without the db (even without an installed libpqxx).
Diffstat (limited to 'server/src/pracrodaopgsql.h')
-rw-r--r--server/src/pracrodaopgsql.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/pracrodaopgsql.h b/server/src/pracrodaopgsql.h
index 7218a19..90498e9 100644
--- a/server/src/pracrodaopgsql.h
+++ b/server/src/pracrodaopgsql.h
@@ -28,6 +28,10 @@
#ifndef __PRACRO_PRACRODAOPGSQL_H__
#define __PRACRO_PRACRODAOPGSQL_H__
+#include <config.h>
+
+#ifndef WITHOUT_DB
+
#include "pracrodao.h"
#include <pqxx/pqxx>
@@ -45,4 +49,6 @@ private:
pqxx::connection *conn;
};
+#endif/*WITHOUT_DB*/
+
#endif/*__PRACRO_PRACRODAOPGSQL_H__*/