We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 364bb61 commit 7dec35dCopy full SHA for 7dec35d
unix/modos.c
@@ -70,7 +70,6 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(mod_os_stat_obj, mod_os_stat);
70
71
#if MICROPY_PY_OS_STATVFS
72
73
-#if MICROPY_PY_OS_STATVFS
74
#if USE_STATFS
75
#include <sys/vfs.h>
76
#define STRUCT_STATVFS struct statfs
@@ -86,7 +85,6 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(mod_os_stat_obj, mod_os_stat);
86
85
#define F_NAMEMAX sb.f_namemax
87
#define F_FLAG sb.f_flag
88
#endif
89
-#endif
90
91
STATIC mp_obj_t mod_os_statvfs(mp_obj_t path_in) {
92
STRUCT_STATVFS sb;
0 commit comments