diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-27 07:32:09 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-10-27 07:32:09 +0000 |
commit | edfca66467b93c737f632f7233a01bf281b684e9 (patch) | |
tree | 9879c454561e13c7a2759e33356e897b3e457786 | |
parent | 88c940c4b88db32deb95b492c64234ef27860746 (diff) | |
download | openocd+libswd-edfca66467b93c737f632f7233a01bf281b684e9.tar.gz openocd+libswd-edfca66467b93c737f632f7233a01bf281b684e9.tar.bz2 openocd+libswd-edfca66467b93c737f632f7233a01bf281b684e9.tar.xz openocd+libswd-edfca66467b93c737f632f7233a01bf281b684e9.zip |
now compiles under Cygwin and eCos again.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1102 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/helper/replacements.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |