summaryrefslogtreecommitdiff
path: root/FL/filename.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2004-10-18 20:29:58 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2004-10-18 20:29:58 +0000
commitca005c406787c5ccf5c0cf0bc5275ea7a6ed1ba7 (patch)
tree6fd57f91d74a0255ec28d5026074a1f0b8daf4f1 /FL/filename.H
parentbf910884ccd3b3fb0655799feee83adcbc35a3a9 (diff)
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
Diffstat (limited to 'FL/filename.H')
-rw-r--r--FL/filename.H10
1 files changed, 7 insertions, 3 deletions
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 <sys/types.h>
# include "/usr/include/dirent.h"
+# elif defined(__WATCOMC__)
+# include <sys/types.h>
+# include <direct.h>
+
# else
/*
* WARNING: on some systems (very few nowadays?) <dirent.h> 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 $".
*/