diff options
Diffstat (limited to 'lib/TaskMan.cc')
| -rw-r--r-- | lib/TaskMan.cc | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc index 1752d8d..f42e8bd 100644 --- a/lib/TaskMan.cc +++ b/lib/TaskMan.cc @@ -17,7 +17,7 @@   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   */ -/* $Id: TaskMan.cc,v 1.56 2008-07-02 10:05:16 pixel Exp $ */ +/* $Id: TaskMan.cc,v 1.57 2008-07-02 16:35:51 pixel Exp $ */  #ifndef _WIN32  #include <signal.h> @@ -237,7 +237,11 @@ static int poll (struct pollfd *fds, unsigned int nfds, int timeout) {      return retval + n_non_socket;  } +#ifdef _MSVC  #define EPOCHFILETIME (116444736000000000i64) +#else +#define EPOCHFILETIME (116444736000000000LLU) +#endif  // special version without timezone support...  static int gettimeofday(struct timeval *tv, struct timezone *tz) | 
