Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
524:55c9fa60af78 | 525:2ff26b697877 |
---|---|
59 #define INCL_NLS | 59 #define INCL_NLS |
60 #define INCL_DOS | 60 #define INCL_DOS |
61 #define INCL_DEV | 61 #define INCL_DEV |
62 #define INCL_DOSERRORS | 62 #define INCL_DOSERRORS |
63 | 63 |
64 #if defined(__IBMC__) && !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 #define msleep(a) DosSleep(a) | 68 #define msleep(a) DosSleep(a) |
69 | 69 |
70 #ifdef __EMX__ | 70 #ifdef __EMX__ |
71 #ifdef _System | |
72 #include "platform/dirent.h" | |
73 #else | |
71 #include <dirent.h> | 74 #include <dirent.h> |
75 #endif | |
72 #include <sys/stat.h> | 76 #include <sys/stat.h> |
73 #define HAVE_PIPE | 77 #define HAVE_PIPE |
74 #ifdef FD_SETSIZE | 78 #ifdef FD_SETSIZE |
75 #undef FD_SETSIZE | 79 #undef FD_SETSIZE |
76 #endif | 80 #endif |