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 | c958b753c60b45cabf2b40ad56bf90905042cbac (patch) | |
tree | bc7c8dd4e1e347e19f618321a7d6a7315906431c /navit/start.c | |
parent | 9615e73b9897ef23e4ea334c48fe4718d160f9b6 (diff) | |
download | navit-c958b753c60b45cabf2b40ad56bf90905042cbac.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/start.c')
-rw-r--r-- | navit/start.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/navit/start.c b/navit/start.c index 759f7c2fd..7f9bdfba7 100644 --- a/navit/start.c +++ b/navit/start.c @@ -22,6 +22,7 @@ #include <glib.h> #include <getopt.h> #include <libintl.h> +#include "config.h" #include "version.h" #include "item.h" #include "coord.h" @@ -73,7 +74,9 @@ int main(int argc, char **argv) GList *list = NULL, *li; +#ifdef HAVE_GLIB event_glib_init(); +#endif main_init(argv[0]); main_init_nls(); debug_init(argv[0]); @@ -148,7 +151,12 @@ int main(int argc, char **argv) } while (!file_exists(config_file)); g_list_free(list); +#ifdef HAVE_GLIB event_request_system("glib","start"); +#endif +#ifdef __CEGCC__ + config_file="\\Storage Card\\navit.xml"; +#endif if (!config_load(config_file, &error)) { printf(_("Error parsing '%s': %s\n"), config_file, error->message); exit(1); |