summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extmod/modplatform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extmod/modplatform.h b/extmod/modplatform.h
index 56a50e53c..b932551c7 100644
--- a/extmod/modplatform.h
+++ b/extmod/modplatform.h
@@ -83,6 +83,9 @@
#elif defined(__NEWLIB__)
#define MICROPY_PLATFORM_LIBC_LIB "newlib"
#define MICROPY_PLATFORM_LIBC_VER _NEWLIB_VERSION
+#elif defined(_PICOLIBC__)
+#define MICROPY_PLATFORM_LIBC_LIB "picolibc"
+#define MICROPY_PLATFORM_LIBC_VER _PICOLIBC_VERSION
#else
#define MICROPY_PLATFORM_LIBC_LIB ""
#define MICROPY_PLATFORM_LIBC_VER ""