summaryrefslogtreecommitdiffstats
path: root/database/eurephiadb.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2009-01-02 17:39:26 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2009-01-02 17:39:26 +0100
commita2ca4fdf6c6eee2d229c8cb7770f37accd467d93 (patch)
treeb0bda9e7375b11dd8ec0d18c4bbaf82f424aa12b /database/eurephiadb.c
parentf98f33a9cb5dcace621aa7d850adb506e92ca0ac (diff)
downloadeurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.tar.gz
eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.tar.xz
eurephia-a2ca4fdf6c6eee2d229c8cb7770f37accd467d93.zip
Make it possible to compile plug-in again without eurephiadm enabled
Diffstat (limited to 'database/eurephiadb.c')
-rw-r--r--database/eurephiadb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/database/eurephiadb.c b/database/eurephiadb.c
index 63dded4..cc13c4f 100644
--- a/database/eurephiadb.c
+++ b/database/eurephiadb.c
@@ -92,6 +92,7 @@ int eDBlink_init(eurephiaCTX *ctx, const char *dbl, const int minver)
"eurephiaDB driver API is newer than the running eurephia version. Consider "
"to upgrade eurphia to take advantage of newer features in the eurephiaDB driver.");
case 2:
+#ifdef ENABLE_EUREPHIADM
eDBadminAuth = eGetSym(ctx, ctx->eurephia_driver, "eDBadminAuth");
eDBadminValidateSession = eGetSym(ctx, ctx->eurephia_driver, "eDBadminValidateSession");
eDBadminRegisterLogin = eGetSym(ctx, ctx->eurephia_driver, "eDBadminRegisterLogin");
@@ -116,6 +117,7 @@ int eDBlink_init(eurephiaCTX *ctx, const char *dbl, const int minver)
eDBadminGetLastlog = eGetSym(ctx, ctx->eurephia_driver, "eDBadminGetLastlog");
eDBadminGetAttemptsLog = eGetSym(ctx, ctx->eurephia_driver, "eDBadminGetAttemptsLog");
+#endif
case 1:
// Setup eDBlink functions