Browse Source

now compiles under Cygwin and eCos again.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1102 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.1.0
oharboe 14 years ago
parent
commit
edfca66467
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      src/helper/replacements.h

+ 5
- 0
src/helper/replacements.h View File

@@ -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


Loading…
Cancel
Save