~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_lib.cc

Removed checks for things that are either defined ISO/POSIX standard, or that
we don't use/check for anyway.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include        <mystrings/m_string.h>
20
20
#include        "mysys/mysys_err.h"
21
21
#include        "my_dir.h"      /* Structs used by my_dir,includes sys/types */
22
 
#if defined(HAVE_DIRENT_H)
23
 
# include <dirent.h>
24
 
#else
25
 
# define dirent direct
26
 
# if defined(HAVE_SYS_NDIR_H)
27
 
#  include <sys/ndir.h>
28
 
# endif
29
 
# if defined(HAVE_SYS_DIR_H)
30
 
#  include <sys/dir.h>
31
 
# endif
32
 
# if defined(HAVE_NDIR_H)
33
 
#  include <ndir.h>
34
 
# endif
35
 
#endif
 
22
#include <dirent.h>
36
23
 
37
24
#if defined(HAVE_READDIR_R)
38
25
#define READDIR(A,B,C) ((errno=readdir_r(A,B,&C)) != 0 || !C)