mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
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
This commit is contained in:
+7
-3
@@ -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 $".
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user