Mercurial > dwindows
comparison compat.h @ 433:f225f16bebbd
Compile fixes for MacOS X.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 27 May 2003 21:43:49 +0000 |
parents | a292977629ba |
children | 2ff26b697877 |
comparison
equal
deleted
inserted
replaced
432:5f9f185e4aa0 | 433:f225f16bebbd |
---|---|
2 | 2 |
3 #ifndef _COMPAT_H | 3 #ifndef _COMPAT_H |
4 #define _COMPAT_H | 4 #define _COMPAT_H |
5 | 5 |
6 /* This header includes and defines everything needed for a given OS/compiler */ | 6 /* This header includes and defines everything needed for a given OS/compiler */ |
7 #ifdef __UNIX__ | 7 #if defined(__UNIX__) || defined(__MAC__) |
8 #include "config.h" | 8 #include "config.h" |
9 | 9 |
10 #include <sys/stat.h> | 10 #include <sys/stat.h> |
11 #include <unistd.h> | 11 #include <unistd.h> |
12 void msleep(long period); | 12 void msleep(long period); |