Renamed Set utility to DFASet, since this is tied to the DFA module.
[idzebra-moved-to-github.git] / include / direntz.h
index 77ec607..655d336 100644 (file)
@@ -1,6 +1,6 @@
-/* $Id: direntz.h,v 1.7 2002-08-02 19:26:55 adam Exp $
-   Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
-   Index Data Aps
+/* $Id: direntz.h,v 1.10 2005-01-15 21:45:42 adam Exp $
+   Copyright (C) 1995-2005
+   Index Data ApS
 
 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.
 */
 
-
-
-
 #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];
@@ -41,12 +38,11 @@ DIR *opendir (const char *path);
 struct dirent *readdir (DIR *dd);
 void closedir (DIR *dd);
 
-#ifdef __cplusplus
-}
-#endif
+YAZ_ENC_CDECL
 
 #else
 /* include UNIX version */
+#include <sys/types.h>
 #include <dirent.h>
 #endif