add #ifdef for watcom standard header differences

This commit is contained in:
Gered 2019-03-31 16:34:32 -04:00
parent b2b7c5c982
commit 5b7ae937ab

View file

@ -42,13 +42,17 @@
# error Target not supported.
#endif
#if defined(UNIX) || defined(DJGPP)
#if defined(UNIX) || defined(DJGPP) || defined(WATCOM)
# define USE_DIRENT
#endif
#if defined(USE_DIRENT) // also needs fnmatch
#ifdef WATCOM
# include <direct.h>
#else
# include <dirent.h>
#endif
#endif
#if defined(UNIX)
# include <unistd.h>