comparison system/System.h @ 765:001d77a720ce

MinGW fixes
author Chris Cannam
date Mon, 25 Mar 2013 12:15:07 +0000
parents 06f13a3b9e9e
children 1d439494604c
comparison
equal deleted inserted replaced
760:b6bb0ecb7958 765:001d77a720ce
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 /* usleep is now in mingw
60 void usleep(unsigned long usec); 61 void usleep(unsigned long usec);
62 */
61 int gettimeofday(struct timeval *p, void *tz); 63 int gettimeofday(struct timeval *p, void *tz);
62 } 64 }
63 65
64 #define ISNAN _isnan 66 #define ISNAN std::isnan
65 #define ISINF _isinf 67 #define ISINF std::isinf
66 68
67 #else 69 #else
68 70
69 #include <sys/mman.h> 71 #include <sys/mman.h>
70 #include <dlfcn.h> 72 #include <dlfcn.h>