mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00:00
unbreak FreeRTOS (#3158)
This commit is contained in:
1 parent
3efe6641eb
commit
f4a49829ea
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -219,7 +219,7 @@ static inline void *mg_calloc(size_t cnt, size_t size) {
|
||||
return p;
|
||||
}
|
||||
|
||||
#if MG_ENABLE_POSIX_FS
|
||||
#if !defined(MG_ENABLE_POSIX_FS) || !MG_ENABLE_POSIX_FS
|
||||
#else
|
||||
#define mkdir(a, b) mg_mkdir(a, b)
|
||||
static inline int mg_mkdir(const char *path, mode_t mode) {
|
||||
|
||||
+1
-1
@@ -37,7 +37,7 @@ static inline void *mg_calloc(size_t cnt, size_t size) {
|
||||
return p;
|
||||
}
|
||||
|
||||
#if MG_ENABLE_POSIX_FS
|
||||
#if !defined(MG_ENABLE_POSIX_FS) || !MG_ENABLE_POSIX_FS
|
||||
#else
|
||||
#define mkdir(a, b) mg_mkdir(a, b)
|
||||
static inline int mg_mkdir(const char *path, mode_t mode) {
|
||||
|
||||
Reference in new issue
Block a user