diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-18 17:38:50 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2008-10-18 17:38:50 +0000 |
commit | f897bca32fb315f6b1b396074670b6a7d96a6395 (patch) | |
tree | bc7c8dd4e1e347e19f618321a7d6a7315906431c /navit/plugin.c | |
parent | 435a8b94631494a5a5e1cf57f4a1b0c6dfee99b7 (diff) | |
download | navit-svn-f897bca32fb315f6b1b396074670b6a7d96a6395.tar.gz |
Fix:Core:Made compileable on wince
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1488 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 7665fcb5..126aa2ea 100644 --- a/navit/plugin.c +++ b/navit/plugin.c @@ -163,6 +163,7 @@ plugins_new(void) void plugins_add_path(struct plugins *pls, struct attr **attrs) { +#ifdef USE_PLUGINS struct attr *path_attr, *attr; struct file_wordexp *we; int active=1; // default active @@ -209,6 +210,7 @@ plugins_add_path(struct plugins *pls, struct attr **attrs) { plugin_set_ondemand(pl, ondemand); } file_wordexp_destroy(we); +#endif } void |