diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-06-07 16:18:14 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-06-07 16:18:14 +0000 |
commit | 71951bc188bb72c77d539ea43507a913bd32da4a (patch) | |
tree | caa5aab325e5d168930be03d8bdd1f6e15773b35 /navit/util.c | |
parent | ebb6cbdc6895399602e2b73aa9342fec4076af29 (diff) | |
download | navit-71951bc188bb72c77d539ea43507a913bd32da4a.tar.gz |
Fix:Core:g_time_val_to_iso8601 not available on older glibs
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4512 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/util.c')
-rw-r--r-- | navit/util.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/navit/util.c b/navit/util.c index 45faa73a7..cbb42f144 100644 --- a/navit/util.c +++ b/navit/util.c @@ -333,11 +333,6 @@ char * current_to_iso8601(void) { char *timep=NULL; -#ifdef HAVE_GLIB - GTimeVal time; - g_get_current_time(&time); - timep = g_time_val_to_iso8601(&time); -#else #ifdef HAVE_API_WIN32_BASE SYSTEMTIME ST; GetSystemTime(&ST); @@ -353,7 +348,6 @@ current_to_iso8601(void) timep=g_strdup(buffer); } #endif -#endif return timep; } |