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

github.com/cxong/tinydir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLautis Sun <lautis0503@gmail.com>2016-10-28 10:12:19 +0300
committerGitHub <noreply@github.com>2016-10-28 10:12:19 +0300
commit4a2655eba269f8b2f9805fc38ec7b6c9b21f891f (patch)
tree0b6c959f29d336f9123bd6c030188cd4732c4e5a
parentae6501d50b4540b7bd81348216ebe7b02696e5b4 (diff)
Use readdir by default
-rw-r--r--tinydir.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tinydir.h b/tinydir.h
index 29617fe..2d4418b 100644
--- a/tinydir.h
+++ b/tinydir.h
@@ -142,6 +142,9 @@ extern "C" {
# define _TINYDIR_USE_READDIR
#endif
+/* Use readdir by default */
+#else
+# define _TINYDIR_USE_READDIR
#endif
/* MINGW32 has two versions of dirent, ASCII and UNICODE*/