summaryrefslogtreecommitdiff
path: root/src/dirent/opendir.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dirent/opendir.c')
-rw-r--r--src/dirent/opendir.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/dirent/opendir.c b/src/dirent/opendir.c
index 31d9445c..8ab8f190 100644
--- a/src/dirent/opendir.c
+++ b/src/dirent/opendir.c
@@ -5,14 +5,6 @@
#include <fcntl.h>
#include "_dirent.h"
-#ifndef O_DIRECTORY
-#define O_DIRECTORY O_RDONLY
-#endif
-
-#ifndef O_SEARCH
-#define O_SEARCH O_RDONLY
-#endif
-
DIR * opendir(const char * dirname)
{
DIR *dir = malloc(sizeof(*dir));