X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=include%2Fdirentz.h;h=655d336c82b0a0174e94fdcd52e1436d983b85c1;hb=40e64fc6d452f02389a00e5c8004f895342099c2;hp=77ec607a09e7b8df730fa8341438383093634c38;hpb=896c0427df9d8eff5de6a1735dcd992e067df844;p=idzebra-moved-to-github.git diff --git a/include/direntz.h b/include/direntz.h index 77ec607..655d336 100644 --- a/include/direntz.h +++ b/include/direntz.h @@ -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 -#ifdef __cplusplus -extern "C" { -#endif +#include + +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 #include #endif