From 9825a90df2326a47178877dd91aa7855fd912dce Mon Sep 17 00:00:00 2001 From: Abhijith Chatra Date: Tue, 18 Sep 2018 16:31:40 -0700 Subject: [PATCH] Buildfix for lego and bumping common-packages to 0.23.54 (#780) * fixing build failure * Bumping common-packages to 0.23.54 --- libs/core/pxtcore.h | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libs/core/pxtcore.h b/libs/core/pxtcore.h index fb98e3b3..032d490b 100644 --- a/libs/core/pxtcore.h +++ b/libs/core/pxtcore.h @@ -1,9 +1,16 @@ #ifndef __PXTCORE_H #define __PXTCORE_H +#include + namespace pxt { void dmesg(const char *fmt, ...); #define DMESG pxt::dmesg } +static inline void itoa(int v, char *dst) { + + snprintf(dst, 30, "%d", v); + +} #endif diff --git a/package.json b/package.json index c7ca3dc7..0ab9fe79 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "webfonts-generator": "^0.4.0" }, "dependencies": { - "pxt-common-packages": "0.23.45", + "pxt-common-packages": "0.23.54", "pxt-core": "3.21.7" }, "scripts": {