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
Deal with double unlocks (which does happen sometimes)
[idzebra-moved-to-github.git]
/
include
/
direntz.h
diff --git
a/include/direntz.h
b/include/direntz.h
index
6eeaf34
..
656eba8
100644
(file)
--- a/
include/direntz.h
+++ b/
include/direntz.h
@@
-1,6
+1,6
@@
-/* $Id: direntz.h,v 1.8 2003-01-13 15:43:25 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
- Index Data Aps
+/* $Id: direntz.h,v 1.12 2006-05-10 08:13:18 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
This file is part of the Zebra server.
@@
-20,16
+20,13
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
02111-1307, USA.
*/
-
-
-
#ifdef WIN32
/* make WIN32 version of dirent */
#include <windows.h>
#ifdef WIN32
/* make WIN32 version of dirent */
#include <windows.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+#include <yaz/yconfig.h>
+
+YAZ_BEGIN_CDECL
struct dirent {
char d_name[MAX_PATH];
struct dirent {
char d_name[MAX_PATH];
@@
-41,9
+38,7
@@
DIR *opendir (const char *path);
struct dirent *readdir (DIR *dd);
void closedir (DIR *dd);
struct dirent *readdir (DIR *dd);
void closedir (DIR *dd);
-#ifdef __cplusplus
-}
-#endif
+YAZ_END_CDECL
#else
/* include UNIX version */
#else
/* include UNIX version */
@@
-51,3
+46,11
@@
void closedir (DIR *dd);
#include <dirent.h>
#endif
#include <dirent.h>
#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+