summaryrefslogtreecommitdiff
path: root/navit/main.c
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-15 18:12:22 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2008-10-15 18:12:22 +0000
commit244d149bd53729635eb09caa1693c2a2f0fb7b62 (patch)
treea42d9f560ccb2f2a4ddb1381f244153f5fc72f48 /navit/main.c
parent94ddd945c5367d9875de3d310e1052cb35062c3a (diff)
downloadnavit-244d149bd53729635eb09caa1693c2a2f0fb7b62.tar.gz
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
Diffstat (limited to 'navit/main.c')
-rw-r--r--navit/main.c4
1 files changed, 2 insertions, 2 deletions
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);