Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-08 14:33:08 +0300
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-11 09:29:16 +0300
commitab4fdab5d555504a90191959546142f797913d84 (patch)
tree919d477fe20d1e33a22fe3ae6f8092f2fd6cec4f /newlib/libc/posix/Makefile.am
parent738fdc6a42e15a108ef7bccfd8bc682fff2b8cd7 (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.am2
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 \