summaryrefslogtreecommitdiff
path: root/lib/TaskMan.cc
diff options
context:
space:
mode:
authorpixel <pixel>2008-07-02 16:35:51 +0000
committerpixel <pixel>2008-07-02 16:35:51 +0000
commit7bb6385ee34141771aac6e3e6e348c213d92f451 (patch)
tree207c994d376d68dee9fa34fbfa3e0f1b17cca0b2 /lib/TaskMan.cc
parent01ee09afd9e367a52a02b5ff29cf8d11fabd82ec (diff)
Fixing code for the latests mingw32 compilers.
Diffstat (limited to 'lib/TaskMan.cc')
-rw-r--r--lib/TaskMan.cc6
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)