projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
isamb delete; more statistics
[idzebra-moved-to-github.git]
/
util
/
dirent.c
diff --git
a/util/dirent.c
b/util/dirent.c
index
047c930
..
d0e7ef4
100644
(file)
--- a/
util/dirent.c
+++ b/
util/dirent.c
@@
-1,12
+1,24
@@
+/*
+ * Copyright (C) 1997-2002, Index Data
+ * All rights reserved.
+ *
+ * $Id: dirent.c,v 1.5 2002-04-04 20:50:37 adam Exp $
+ *
+ * This utility implements a opendir/readdir/close on Windows.
+ */
-#ifdef WINDOWS
+#include <ctype.h>
#include <assert.h>
#include <assert.h>
+#ifdef WIN32
#include <io.h>
#include <io.h>
+#endif
#include <string.h>
#include <stdlib.h>
#include <direntz.h>
#include <string.h>
#include <stdlib.h>
#include <direntz.h>
+#ifdef WIN32
+
struct DIR {
HANDLE handle;
WIN32_FIND_DATA find_data;
struct DIR {
HANDLE handle;
WIN32_FIND_DATA find_data;
@@
-48,3
+60,4
@@
void closedir(DIR *dd)
}
#endif
}
#endif
+