Disable dirlist by default

This commit is contained in:
Sergey Lyubka committed 2022-02-14 11:32:01 +00:00
1 parent 5bc164de76
commit 4fec149345
5 files changed
+22 -15

No files matched your search

+4
View File
@@ -30,4 +30,8 @@
#include <time.h>
#include <unistd.h>
#ifndef MG_ENABLE_DIRLIST
#define MG_ENABLE_DIRLIST 1
#endif
#endif
+4
View File
@@ -86,4 +86,8 @@ typedef int socklen_t;
#define S_ISDIR(x) (((x) &_S_IFMT) == _S_IFDIR)
#endif
#ifndef MG_ENABLE_DIRLIST
#define MG_ENABLE_DIRLIST 1
#endif
#endif
+1 -1
View File
@@ -50,7 +50,7 @@
#endif
#ifndef MG_ENABLE_DIRLIST
#define MG_ENABLE_DIRLIST 1
#define MG_ENABLE_DIRLIST 0
#endif
#ifndef MG_ENABLE_CUSTOM_RANDOM