From 579619c01c19d1021e41ef3ec1590643c6f72881 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 28 Jul 2004 10:06:03 +0000 Subject: [PATCH] Watcom C++ doesn't have dirent.h (uses direct.h instead). --- src/xpdev/dirwrap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/dirwrap.h b/src/xpdev/dirwrap.h index b85e767364..500f37a8f5 100644 --- a/src/xpdev/dirwrap.h +++ b/src/xpdev/dirwrap.h @@ -147,7 +147,7 @@ extern "C" { struct dirent * readdir (DIR *__dir); int closedir (DIR *__dir); void rewinddir(DIR *__dir); -#else +#elif !defined(__WATCOMC__) #include <dirent.h> /* POSIX directory functions */ #endif -- GitLab