Mercurial > hg > svcore
comparison base/System.h @ 104:174d33f28824
* win32 fix
author | Chris Cannam |
---|---|
date | Fri, 05 May 2006 13:31:23 +0000 |
parents | 173b39ea0728 |
children | 514ebb0c5c6c |
comparison
equal
deleted
inserted
replaced
103:173b39ea0728 | 104:174d33f28824 |
---|---|
18 | 18 |
19 #ifdef _WIN32 | 19 #ifdef _WIN32 |
20 | 20 |
21 #include <windows.h> | 21 #include <windows.h> |
22 #include <malloc.h> | 22 #include <malloc.h> |
23 #include <process.h> | |
23 | 24 |
24 #define MLOCK(a,b) 1 | 25 #define MLOCK(a,b) 1 |
25 #define MUNLOCK(a,b) 1 | 26 #define MUNLOCK(a,b) 1 |
26 #define MUNLOCK_SAMPLEBLOCK(a) 1 | 27 #define MUNLOCK_SAMPLEBLOCK(a) 1 |
27 | 28 |
31 #define DLERROR() "" | 32 #define DLERROR() "" |
32 | 33 |
33 #define PLUGIN_GLOB "*.dll" | 34 #define PLUGIN_GLOB "*.dll" |
34 #define PATH_SEPARATOR ';' | 35 #define PATH_SEPARATOR ';' |
35 #define DEFAULT_VAMP_PATH "%ProgramFiles%\\Vamp Plugins" | 36 #define DEFAULT_VAMP_PATH "%ProgramFiles%\\Vamp Plugins" |
37 | |
38 #define getpid _getpid | |
36 | 39 |
37 extern "C" { | 40 extern "C" { |
38 void usleep(unsigned long usec); | 41 void usleep(unsigned long usec); |
39 void gettimeofday(struct timeval *p, void *tz); | 42 void gettimeofday(struct timeval *p, void *tz); |
40 } | 43 } |