~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.c

merge latest from trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include        "mysys_err.h"
23
23
#if defined(HAVE_DIRENT_H)
24
24
# include <dirent.h>
25
 
# define NAMLEN(dirent) strlen((dirent)->d_name)
26
25
#else
27
26
# define dirent direct
28
 
# define NAMLEN(dirent) (dirent)->d_namlen
29
27
# if defined(HAVE_SYS_NDIR_H)
30
28
#  include <sys/ndir.h>
31
29
# endif