summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-09 14:46:26 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-03-09 14:46:26 +0000
commit47cc6b4748e6527cc6214642e1e0c7cd2ff84c22 (patch)
treec8d6d206a54347bef1d04697f93cd75ec7e3b033
parent8ea44e4edd36efc1c0fbdd068912dcf3c3ba8ed3 (diff)
downloadnavit-svn-47cc6b4748e6527cc6214642e1e0c7cd2ff84c22.tar.gz
Fix:osd_core:gettimeofday also not available on win32
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4317 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r--navit/osd/core/osd_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/osd/core/osd_core.c b/navit/osd/core/osd_core.c
index be2b8260..85540b4c 100644
--- a/navit/osd/core/osd_core.c
+++ b/navit/osd/core/osd_core.c
@@ -342,7 +342,7 @@ static void osd_odometer_from_string(struct odometer* this_, char*str)
static void osd_odometer_draw(struct odometer *this, struct navit *nav, struct vehicle *v)
{
-#ifndef HAVE_API_WIN32_CE
+#ifndef HAVE_API_WIN32
struct coord curr_coord;
struct graphics_gc *curr_color;
@@ -477,7 +477,7 @@ osd_odometer_reset(struct odometer *this)
static void
osd_odometer_click(struct odometer *this, struct navit *nav, int pressed, int button, struct point *p)
{
-#ifndef HAVE_API_WIN32_CE
+#ifndef HAVE_API_WIN32
struct point bp = this->osd_item.p;
struct timeval tv;
double curr_time;