diff system/System.h @ 710:773f228f080d library_integration

Changed ISINF in system/System.h for win32 compilation: #define ISINF std::isinf //mathieub: replace with _isinf for osx compilation
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Mon, 10 Oct 2011 17:27:08 +0100
parents 06f13a3b9e9e
children
line wrap: on
line diff
--- a/system/System.h	Tue Aug 23 12:05:57 2011 +0100
+++ b/system/System.h	Mon Oct 10 17:27:08 2011 +0100
@@ -57,12 +57,12 @@
 #define getpid _getpid
 
 extern "C" {
-void usleep(unsigned long usec);
+//void usleep(unsigned long usec); //uncomment for osx compilation
 int gettimeofday(struct timeval *p, void *tz);
 }
 
 #define ISNAN _isnan
-#define ISINF _isinf
+#define ISINF std::isinf //replace with _isinf for osx compilation
 
 #else