From 244d149bd53729635eb09caa1693c2a2f0fb7b62 Mon Sep 17 00:00:00 2001 From: martin-s Date: Wed, 15 Oct 2008 18:12:22 +0000 Subject: Fix:Core:Replace g_warning with dbg(0, some wince fixes git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1476 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'navit/main.c') diff --git a/navit/main.c b/navit/main.c index bb78186d1..c20c763eb 100644 --- a/navit/main.c +++ b/navit/main.c @@ -52,7 +52,7 @@ struct map_data *map_data_default; static void sigchld(int sig) { -#ifndef _WIN32 +#if !defined(_WIN32) && !defined(__CEGCC__) int status; while (waitpid(-1, &status, WNOHANG) > 0); #endif @@ -67,7 +67,7 @@ gchar *get_home_directory(void) homedir = getenv("HOME"); if (!homedir) { - g_warning("Could not find home directory. Using current directory as home directory."); + dbg(0,"Could not find home directory. Using current directory as home directory."); homedir = "."; } else { homedir=g_strdup(homedir); -- cgit v1.2.1