diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-08 14:33:08 +0300 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-11 09:29:16 +0300 |
commit | ab4fdab5d555504a90191959546142f797913d84 (patch) | |
tree | 919d477fe20d1e33a22fe3ae6f8092f2fd6cec4f /newlib/libc/posix/Makefile.am | |
parent | 738fdc6a42e15a108ef7bccfd8bc682fff2b8cd7 (diff) |
Add generic implementation of dirfd()
Use existing HAVE_OPENDIR define to determine if a generic
implementation should be provided. Cygwin for example has its own
implementation of opendir() and dirfd().
Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Diffstat (limited to 'newlib/libc/posix/Makefile.am')
-rw-r--r-- | newlib/libc/posix/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/posix/Makefile.am b/newlib/libc/posix/Makefile.am index 481849cb3..6cdee1df0 100644 --- a/newlib/libc/posix/Makefile.am +++ b/newlib/libc/posix/Makefile.am @@ -5,7 +5,7 @@ AUTOMAKE_OPTIONS = cygnus INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) GENERAL_SOURCES = \ - closedir.c collate.c collcmp.c creat.c \ + closedir.c collate.c collcmp.c creat.c dirfd.c \ fnmatch.c glob.c _isatty.c isatty.c \ opendir.c readdir.c readdir_r.c \ regcomp.c regerror.c regexec.c regfree.c \ |