mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-11 16:40:17 +00:00
Optimise TLS read
This commit is contained in:
1 parent
35f02fdaad
commit
f1bfe0760f
3 files changed
+15
-12
No files matched your search
+3
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user