- fix native mingw build if gettimeofday not defined.

- reformat whitespace in startup.tcl

git-svn-id: svn://svn.berlios.de/openocd/trunk@1101 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak
2008-10-24 15:53:22 +00:00
parent fdb7a1705d
commit 88c940c4b8
2 changed files with 73 additions and 81 deletions

View File

@@ -77,19 +77,17 @@ struct timeval {
long tv_usec;
};
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
#endif /* _TIMEVAL_DEFINED */
#endif
/* gettimeofday() */
#ifndef HAVE_GETTIMEOFDAY
struct timeval;
struct timezone;
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
extern int gettimeofday(struct timeval *tv, struct timezone *tz);
#endif