summaryrefslogtreecommitdiff
path: root/src/scandir_win32.c
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>2000-04-04 17:57:05 +0000
committerBill Spitzak <spitzak@gmail.com>2000-04-04 17:57:05 +0000
commit328a8f8f0dd777bb9a124e6701bf1595b5aff96e (patch)
treec5c21271c8280ca526502e9d8bc5568abae3eb68 /src/scandir_win32.c
parent6f42bc1a58242305e554cb66b84c570fbcdc5738 (diff)
Fixes for Cygwin POSIX emulation layer from Norman Vine.
Requires the symbol __CYGWIN__ to be defined, appears to disable the special meaning of backslash and colon in file names. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1056 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/scandir_win32.c')
-rw-r--r--src/scandir_win32.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/scandir_win32.c b/src/scandir_win32.c
index 502acd892..fee29d03a 100644
--- a/src/scandir_win32.c
+++ b/src/scandir_win32.c
@@ -1,5 +1,5 @@
//
-// "$Id: scandir_win32.c,v 1.11 1999/01/07 19:17:47 mike Exp $"
+// "$Id: scandir_win32.c,v 1.11.2.1 2000/04/04 17:57:04 bill Exp $"
//
// WIN32 scandir function for the Fast Light Tool Kit (FLTK).
//
@@ -23,6 +23,7 @@
// Please report all bugs and problems to "fltk-bugs@easysw.com".
//
+#ifndef __CYGWIN__
// Emulation of posix scandir() call
#include <config.h>
@@ -97,6 +98,8 @@ int alphasort (struct dirent **a, struct dirent **b) {
return strcmp ((*a)->d_name, (*b)->d_name);
}
+#endif
+
//
-// End of "$Id: scandir_win32.c,v 1.11 1999/01/07 19:17:47 mike Exp $".
+// End of "$Id: scandir_win32.c,v 1.11.2.1 2000/04/04 17:57:04 bill Exp $".
//