summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-27 07:32:09 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-10-27 07:32:09 +0000
commitedfca66467b93c737f632f7233a01bf281b684e9 (patch)
tree9879c454561e13c7a2759e33356e897b3e457786 /src
parent88c940c4b88db32deb95b492c64234ef27860746 (diff)
downloadopenocd_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
Diffstat (limited to 'src')
-rw-r--r--src/helper/replacements.h5
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