mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-28 20:58:31 +00:00
Fix #1211 - adjust ESP32 example to serve FS
This commit is contained in:
1 parent
6827972f71
commit
457d76b049
12 files changed
+179
-123
No files matched your search
@@ -120,8 +120,12 @@
|
||||
|
||||
#include <dirent.h>
|
||||
#include <netdb.h>
|
||||
#include <sys/stat.h>
|
||||
#define MG_DIRSEP '/'
|
||||
#define MG_INT64_FMT "%lld"
|
||||
#ifndef MG_PATH_MAX
|
||||
#define MG_PATH_MAX 128
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@@ -351,6 +355,10 @@ typedef int socklen_t;
|
||||
#define MG_MAX_HTTP_HEADERS 40
|
||||
#endif
|
||||
|
||||
#ifndef MG_PATH_MAX
|
||||
#define MG_PATH_MAX PATH_MAX
|
||||
#endif
|
||||
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in new issue
Block a user