# HG changeset patch # User Chris Cannam # Date 1364213736 0 # Node ID 2444ef08b7eb8bad9bb46fc297d0fbd729d8849c # Parent 001d77a720ced49adfc4e2e22ceddd81f901a3bc# Parent dc87569a196e1b187ed03a094ae1350e424bc9f3 Merge diff -r dc87569a196e -r 2444ef08b7eb data/fileio/test/test.pro --- a/data/fileio/test/test.pro Mon Mar 11 11:49:16 2013 +0000 +++ b/data/fileio/test/test.pro Mon Mar 25 12:15:36 2013 +0000 @@ -36,5 +36,5 @@ } } -win32:QMAKE_POST_LINK=.$${TARGET}.exe +win32:QMAKE_POST_LINK=./release/$${TARGET}.exe diff -r dc87569a196e -r 2444ef08b7eb system/System.cpp --- a/system/System.cpp Mon Mar 11 11:49:16 2013 +0000 +++ b/system/System.cpp Mon Mar 25 12:15:36 2013 +0000 @@ -56,10 +56,12 @@ extern "C" { +/* usleep is now in mingw void usleep(unsigned long usec) { ::Sleep(usec / 1000); } +*/ int gettimeofday(struct timeval *tv, void *tz) { diff -r dc87569a196e -r 2444ef08b7eb system/System.h --- a/system/System.h Mon Mar 11 11:49:16 2013 +0000 +++ b/system/System.h Mon Mar 25 12:15:36 2013 +0000 @@ -57,12 +57,14 @@ #define getpid _getpid extern "C" { +/* usleep is now in mingw void usleep(unsigned long usec); +*/ int gettimeofday(struct timeval *p, void *tz); } -#define ISNAN _isnan -#define ISINF _isinf +#define ISNAN std::isnan +#define ISINF std::isinf #else