diff system/System.h @ 765:001d77a720ce

MinGW fixes
author Chris Cannam
date Mon, 25 Mar 2013 12:15:07 +0000
parents 06f13a3b9e9e
children 1d439494604c
line wrap: on
line diff
--- a/system/System.h	Sat Mar 09 11:45:15 2013 +0000
+++ b/system/System.h	Mon Mar 25 12:15:07 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