X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fdirentz.h;h=655d336c82b0a0174e94fdcd52e1436d983b85c1;hp=d09cd2a09bddb6410bcca243badfac4f9ac78a72;hb=40e64fc6d452f02389a00e5c8004f895342099c2;hpb=174ad2c7bbf2b7312ac080de2fd85d0509a55404 diff --git a/include/direntz.h b/include/direntz.h index d09cd2a..655d336 100644 --- a/include/direntz.h +++ b/include/direntz.h @@ -1,4 +1,4 @@ -/* $Id: direntz.h,v 1.9 2005-01-15 19:38:24 adam Exp $ +/* $Id: direntz.h,v 1.10 2005-01-15 21:45:42 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -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_ENC_CDECL #else /* include UNIX version */