mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-07 17:42:30 +08:00
unbreak FreeRTOS (#3158)
This commit is contained in:
parent
3efe6641eb
commit
f4a49829ea
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user