From: oharboe Date: Mon, 27 Oct 2008 07:32:09 +0000 (+0000) Subject: now compiles under Cygwin and eCos again. X-Git-Tag: v0.1.0~214 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=edfca66467b93c737f632f7233a01bf281b684e9;p=openocd now compiles under Cygwin and eCos again. git-svn-id: svn://svn.berlios.de/openocd/trunk@1102 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/replacements.h b/src/helper/replacements.h index 553cde1b..069519d1 100644 --- a/src/helper/replacements.h +++ b/src/helper/replacements.h @@ -83,10 +83,15 @@ struct timeval { /* gettimeofday() */ #ifndef HAVE_GETTIMEOFDAY + + +#ifdef _WIN32 struct timezone { int tz_minuteswest; int tz_dsttime; }; +#endif +struct timezone; extern int gettimeofday(struct timeval *tv, struct timezone *tz); #endif