diff options
Diffstat (limited to 'ace/os_include/dirent.h')
-rw-r--r-- | ace/os_include/dirent.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ace/os_include/dirent.h b/ace/os_include/dirent.h new file mode 100644 index 00000000000..ade5e2fe778 --- /dev/null +++ b/ace/os_include/dirent.h @@ -0,0 +1,38 @@ +/* -*- C++ -*- */ + +//============================================================================= +/** + * @file dirent.h + * + * $Id$ + * + * @author Douglas C. Schmidt (schmidt@cs.wustl.edu) + * @author etc + */ +//============================================================================= + +#ifndef ACE_OS_INCLUDE_DIRENT_H +# define ACE_OS_INCLUDE_DIRENT_H +# include "ace/pre.h" + +# include "ace/config-all.h" + +# if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +# endif /* ACE_LACKS_PRAGMA_ONCE */ + +#include "ace/os_include/sys/types.h" +#include "ace/os_include/unistd.h" + +# if !defined (ACE_LACKS_DIRENT_H) +# include /**/ <dirent.h> +# endif /* ACE_LACKS_DIRENT_H */ + +# if !defined (MAXNAMLEN) +# if !defined (ACE_MAXNAMLEN) +# define ACE_MAXNAMLEN 255 +# endif /* !ACE_MAXNAMELEN */ +# define MAXNAMLEN ACE_MAXNAMLEN +# endif /* !MAXNAMLEN */ + +#endif /* ACE_OS_INCLUDE_DIRENT_H */ |