Optimise TLS read

This commit is contained in:
Sergey Lyubka committed 2021-10-27 19:18:44 +01:00
1 parent 35f02fdaad
commit f1bfe0760f
3 files changed
+15 -12

No files matched your search

+3 -2
View File
@@ -197,11 +197,12 @@ static __inline struct tm *localtime_r(time_t *t, struct tm *tm) {
#include <sys/types.h>
#include <time.h>
#undef MG_PATH_MAX
#undef MG_ENABLE_DIRLIST
#define MG_DIRSEP '/'
#define MG_INT64_FMT "%lld"
#undef MG_PATH_MAX
#define MG_PATH_MAX 128
#undef MG_ENABLE_DIRLIST
#define MG_ENABLE_DIRLIST 1
#endif