#define __acornriscos
#endif
-#if defined(__MWERKS__) || defined(THINK_C)
+#if (defined(__MWERKS__) && !defined(__MACH__)) || defined(THINK_C)
#include <unix.h>
#include <math.h>
#endif
#define BSDTYPES
#elif defined(OS2_16) || defined(OS2_32)
#define BSDTYPES
+#elif defined(__MSDOS__)
+#define BSDTYPES
#elif defined(__acornriscos)
#include <stdlib.h>
#define BSDTYPES