Mercurial > dwindows
diff compat.h @ 525:2ff26b697877
Fixes for building with Innotek GCC. Will have to check for regressions
with VAC and EMX.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 20 Mar 2004 01:21:13 +0000 |
parents | f225f16bebbd |
children | e0ea29c3d1eb |
line wrap: on
line diff
--- a/compat.h Wed Mar 17 18:49:14 2004 +0000 +++ b/compat.h Sat Mar 20 01:21:13 2004 +0000 @@ -61,14 +61,18 @@ #define INCL_DEV #define INCL_DOSERRORS -#if defined(__IBMC__) && !defined(API) +#if (defined(__IBMC__) || defined(_System)) && !defined(API) #define API _System #endif #define msleep(a) DosSleep(a) #ifdef __EMX__ +#ifdef _System +#include "platform/dirent.h" +#else #include <dirent.h> +#endif #include <sys/stat.h> #define HAVE_PIPE #ifdef FD_SETSIZE