diff 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
line wrap: on
line diff
--- a/compat.h	Thu Apr 01 07:48:52 2004 +0000
+++ b/compat.h	Sat Apr 03 06:52:12 2004 +0000
@@ -65,14 +65,14 @@
 #define API _System
 #endif
 
+#ifndef API
+#define API
+#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