comparison compat.c @ 441:b559c06a76c2

Implemented more functionality on MacOS and include the platform define in the dw-config C flags.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 30 May 2003 00:47:47 +0000
parents f225f16bebbd
children 469ff8133ed3
comparison
equal deleted inserted replaced
440:9af47c551a56 441:b559c06a76c2
20 #include <sys/vfs.h> 20 #include <sys/vfs.h>
21 #endif 21 #endif
22 #endif 22 #endif
23 #include <time.h> 23 #include <time.h>
24 24
25 #ifdef __UNIX__ 25 #if defined(__UNIX__) || defined(__MAC__)
26 void msleep(long period) 26 void msleep(long period)
27 { 27 {
28 #ifdef __sun__ 28 #ifdef __sun__
29 /* usleep() isn't threadsafe on Solaris */ 29 /* usleep() isn't threadsafe on Solaris */
30 struct timespec req; 30 struct timespec req;