Mercurial > hg > svcore
changeset 768:81fac6dadb75 qt5
'Merge'
author | Chris Cannam |
---|---|
date | Mon, 25 Mar 2013 12:19:10 +0000 |
parents | 33ac6d05a1a6 (current diff) 2444ef08b7eb (diff) |
children | 8c5b0eec6fe9 |
files | |
diffstat | 3 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/test/test.pro Mon Mar 25 12:19:01 2013 +0000 +++ b/data/fileio/test/test.pro Mon Mar 25 12:19:10 2013 +0000 @@ -36,5 +36,5 @@ } } -win32:QMAKE_POST_LINK=.$${TARGET}.exe +win32:QMAKE_POST_LINK=./release/$${TARGET}.exe
--- a/system/System.cpp Mon Mar 25 12:19:01 2013 +0000 +++ b/system/System.cpp Mon Mar 25 12:19:10 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) {
--- a/system/System.h Mon Mar 25 12:19:01 2013 +0000 +++ b/system/System.h Mon Mar 25 12:19:10 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