diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 00:24:43 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-11-29 00:24:43 +0000 |
| commit | 4b23d4c6d59bb0461e0f1b44c88c489df6ab7a31 (patch) | |
| tree | 7ec64a2336791e41a68a79b3947aafab38a4113f /src/numericsort.c | |
| parent | 79d6a32be98d8809c915fd4914cb57a5730202b3 (diff) | |
VC++ fixes, plus add new tiled_image project file.
Use the plastic box type for the tiled_image demo.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1783 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/numericsort.c')
| -rw-r--r-- | src/numericsort.c | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/src/numericsort.c b/src/numericsort.c index 61b7931c5..a29230d2f 100644 --- a/src/numericsort.c +++ b/src/numericsort.c @@ -1,5 +1,5 @@ /* - * "$Id: numericsort.c,v 1.10.2.4 2001/01/22 15:13:41 easysw Exp $" + * "$Id: numericsort.c,v 1.10.2.4.2.1 2001/11/29 00:24:43 easysw Exp $" * * Numeric sorting routine for the Fast Light Tool Kit (FLTK). * @@ -32,22 +32,20 @@ #include <sys/types.h> #if defined(WIN32) && !defined(__CYGWIN__) -#include <FL/filename.H> +# include <FL/filename.H> +#elif defined(HAVE_DIRENT_H) +# include <dirent.h> #else -#if HAVE_DIRENT_H -# include <dirent.h> -#else -# define dirent direct -# if HAVE_SYS_NDIR_H -# include <sys/ndir.h> -# endif -# if HAVE_SYS_DIR_H -# include <sys/dir.h> -# endif -# if HAVE_NDIR_H -# include <ndir.h> -# endif -#endif +# define dirent direct +# if HAVE_SYS_NDIR_H +# include <sys/ndir.h> +# endif +# if HAVE_SYS_DIR_H +# include <sys/dir.h> +# endif +# if HAVE_NDIR_H +# include <ndir.h> +# endif #endif #ifdef __cplusplus @@ -84,5 +82,5 @@ int numericsort(struct dirent **A, struct dirent **B) { } /* - * End of "$Id: numericsort.c,v 1.10.2.4 2001/01/22 15:13:41 easysw Exp $". + * End of "$Id: numericsort.c,v 1.10.2.4.2.1 2001/11/29 00:24:43 easysw Exp $". */ |
