This commit is contained in:
cpq committed 2026-09-26 12:52:30 +01:00
1 parent f62f3545b4
commit 81f6acbce7
19 files changed
+258 -128

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#pragma once
#if MG_ENABLE_LFS
#include <fcntl.h>
#include <littlefs/lfs.h>
#ifndef DT_DIR
#define DT_DIR 4
#endif
#ifndef DT_REG
#define DT_REG 8
#endif
struct dirent {
char d_name[LFS_NAME_MAX + 1];
unsigned char d_type;
};
typedef struct mg_lfs_fd DIR;
#endif