X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fdirentz.h;h=1b2035af83970fb2d0d44d2f3434b6ab85101fc5;hb=f2f159d942dae64203f266941c76bc487e33714e;hp=6eeaf3450339fc81bbb12f7acb97e3add4ac52f0;hpb=8f9e2cb55203802cb43fcda15a85797579372250;p=idzebra-moved-to-github.git diff --git a/include/direntz.h b/include/direntz.h index 6eeaf34..1b2035a 100644 --- 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.11 2005-01-15 22:13:14 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,9 +38,7 @@ DIR *opendir (const char *path); struct dirent *readdir (DIR *dd); void closedir (DIR *dd); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #else /* include UNIX version */