add #ifdef for watcom standard header differences
This commit is contained in:
parent
b2b7c5c982
commit
5b7ae937ab
6
sysdep.h
6
sysdep.h
|
@ -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>
|
||||
|
|
Reference in a new issue