git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit@1530
ffa7fe5e-494d-0410-b361-
a75ebd5db220
{
struct attr pos_attr;
char buffer[256];
-#ifndef __CEGCC__
+#ifdef HAVE_GLIB
GTimeVal time;
g_get_current_time(&time);
#endif
return;
if (!this_->meth.position_attr_get(this_->priv, attr_position_coord_geo, &pos_attr))
return;
-#ifndef __CEGCC__
+#ifdef HAVE_GLIB
sprintf(buffer,"<trkpt lat=\"%f\" lon=\"%f\">\n\t<time>%s</time>\n</trkpt>\n",
pos_attr.u.coord_geo->lat, pos_attr.u.coord_geo->lng, g_time_val_to_iso8601(&time));
#else