now compiles under Cygwin and eCos again.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1102 b42882b7-edfa-0310-969c-e2dbd0fdcd60__archive__
parent
88c940c4b8
commit
edfca66467
|
@ -83,10 +83,15 @@ struct timeval {
|
||||||
|
|
||||||
/* gettimeofday() */
|
/* gettimeofday() */
|
||||||
#ifndef HAVE_GETTIMEOFDAY
|
#ifndef HAVE_GETTIMEOFDAY
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
struct timezone {
|
struct timezone {
|
||||||
int tz_minuteswest;
|
int tz_minuteswest;
|
||||||
int tz_dsttime;
|
int tz_dsttime;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
struct timezone;
|
||||||
|
|
||||||
extern int gettimeofday(struct timeval *tv, struct timezone *tz);
|
extern int gettimeofday(struct timeval *tv, struct timezone *tz);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue