mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-16 19:40:07 +08:00
d2937299fa
MAXNAMLEN is a BSDism. Use the proper internal macros instead of !_POSIX_SOURCE. telldir and seekdir are XSI, scandir and alphasort are POSIX.1-2008, and scandirat is GNU. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
17 lines
247 B
C
17 lines
247 B
C
#ifndef _DIRENT_H_
|
|
#define _DIRENT_H_
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include <sys/cdefs.h>
|
|
#include <sys/dirent.h>
|
|
|
|
#if !defined(MAXNAMLEN) && __BSD_VISIBLE
|
|
#define MAXNAMLEN 1024
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /*_DIRENT_H_*/
|