From 39a980caa54691c839e776676a4688ccade11ba7 Mon Sep 17 00:00:00 2001 From: martin-s Date: Tue, 7 Jun 2011 16:18:14 +0000 Subject: [PATCH] Fix:Core:g_time_val_to_iso8601 not available on older glibs git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4512 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/util.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/navit/navit/util.c b/navit/navit/util.c index 45faa73..cbb42f1 100644 --- a/navit/navit/util.c +++ b/navit/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; } -- 2.7.4