Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
701:8c410ad4aa97 | 710:773f228f080d |
---|---|
55 #define DEFAULT_DSSI_PATH "%ProgramFiles%\\DSSI Plugins" | 55 #define DEFAULT_DSSI_PATH "%ProgramFiles%\\DSSI Plugins" |
56 | 56 |
57 #define getpid _getpid | 57 #define getpid _getpid |
58 | 58 |
59 extern "C" { | 59 extern "C" { |
60 void usleep(unsigned long usec); | 60 //void usleep(unsigned long usec); //uncomment for osx compilation |
61 int gettimeofday(struct timeval *p, void *tz); | 61 int gettimeofday(struct timeval *p, void *tz); |
62 } | 62 } |
63 | 63 |
64 #define ISNAN _isnan | 64 #define ISNAN _isnan |
65 #define ISINF _isinf | 65 #define ISINF std::isinf //replace with _isinf for osx compilation |
66 | 66 |
67 #else | 67 #else |
68 | 68 |
69 #include <sys/mman.h> | 69 #include <sys/mman.h> |
70 #include <dlfcn.h> | 70 #include <dlfcn.h> |