diff options
author | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-24 15:58:17 +0000 |
---|---|---|
committer | zaxl <zaxl@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-24 15:58:17 +0000 |
commit | 9aabd54a821e73b87e2fc3b35029c4e4fead9985 (patch) | |
tree | 1f98914062c5fc192976d3a18a106477c9288b0e /navit/plugin.c | |
parent | 23e54d7bcae39f6a6e9bdea234fcc003c50657f8 (diff) | |
download | navit-svn-9aabd54a821e73b87e2fc3b35029c4e4fead9985.tar.gz |
FIX:core: only wrap dl functions if plugins are enabled
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1552 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/plugin.c')
-rw-r--r-- | navit/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/plugin.c b/navit/plugin.c index 4e4aa6c6..d38f0d77 100644 --- a/navit/plugin.c +++ b/navit/plugin.c @@ -34,6 +34,7 @@ #include "item.h" #include "debug.h" +#ifdef USE_PLUGINS #ifndef HAVE_GMODULE typedef void * GModule; #define G_MODULE_BIND_LOCAL 1 @@ -72,6 +73,7 @@ g_module_close(GModule *handle) } #endif +#endif struct plugin { int active; |