comparison compat.h @ 543:8217ee5c254e

Get EMX compiling again.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 03 Apr 2004 06:52:12 +0000
parents e0ea29c3d1eb
children 1a210e2f214b
comparison
equal deleted inserted replaced
542:a95f39e81fe2 543:8217ee5c254e
63 63
64 #if (defined(__IBMC__) || defined(_System)) && !defined(API) 64 #if (defined(__IBMC__) || defined(_System)) && !defined(API)
65 #define API _System 65 #define API _System
66 #endif 66 #endif
67 67
68 #ifndef API
69 #define API
70 #endif
71
68 #define msleep(a) DosSleep(a) 72 #define msleep(a) DosSleep(a)
69 73
70 #ifdef __EMX__ 74 #ifdef __EMX__
71 #ifdef _System
72 #include "platform/dirent.h" 75 #include "platform/dirent.h"
73 #else
74 #include <dirent.h>
75 #endif
76 #include <sys/stat.h> 76 #include <sys/stat.h>
77 #define HAVE_PIPE 77 #define HAVE_PIPE
78 #ifdef FD_SETSIZE 78 #ifdef FD_SETSIZE
79 #undef FD_SETSIZE 79 #undef FD_SETSIZE
80 #endif 80 #endif