From ca005c406787c5ccf5c0cf0bc5275ea7a6ed1ba7 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 18 Oct 2004 20:29:58 +0000 Subject: Documentation updates (STR #568) More CMake updates (STR #499) The Watcom C++ compiler needed a small change (STR #567) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/filename.H | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'FL') diff --git a/FL/filename.H b/FL/filename.H index 04aec10b6..df77b4762 100644 --- a/FL/filename.H +++ b/FL/filename.H @@ -1,5 +1,5 @@ /* - * "$Id: filename.H,v 1.11.2.4.2.14 2004/04/11 04:38:54 easysw Exp $" + * "$Id: filename.H,v 1.11.2.4.2.15 2004/10/18 20:29:54 easysw Exp $" * * Filename header file for the Fast Light Tool Kit (FLTK). * @@ -51,7 +51,7 @@ inline int fl_filename_relative(char *to, const char *from) { return fl_filename # endif /* __cplusplus */ -# if defined(WIN32) && !defined(__CYGWIN__) +# if defined(WIN32) && !defined(__CYGWIN__) && !defined(__WATCOMC__) struct dirent {char d_name[1];}; @@ -65,6 +65,10 @@ struct dirent {char d_name[1];}; # include # include "/usr/include/dirent.h" +# elif defined(__WATCOMC__) +# include +# include + # else /* * WARNING: on some systems (very few nowadays?) may not exist. @@ -127,5 +131,5 @@ FL_EXPORT int fl_filename_list(const char *d, struct dirent ***l, #endif /* FL_FILENAME_H */ /* - * End of "$Id: filename.H,v 1.11.2.4.2.14 2004/04/11 04:38:54 easysw Exp $". + * End of "$Id: filename.H,v 1.11.2.4.2.15 2004/10/18 20:29:54 easysw Exp $". */ -- cgit v1.2.3